Damian Conway wrote:
What you want is: $product = ([*] @values err 0); Or: $factorial = ([*] 1..$n err 1);
The "err" operator bind only to the point on the instruction it is attached to, ie it's not a shortcut for eval(), right? I'm just seeing some edge cases here for custom defined operators; you don't want exceptions getting silently converted to default values... Sam.