[EMAIL PROTECTED] wrote:
If so then my and Eric's wishes are answered:when { $_ > 5 } { ... } when { .caloric_value > $doctors_orders } { ... } This isn't implemented in pugs yet, but I guess it can be once this is clarified.
Actually
when $_ > 5 { ... }
when .caloric_value > $doctors_orders { ... }
should also work because ~~ match table states that Anything ~~ boolean
returns the boolean on the right.
Miro
