for example:
[*] 1..100; # applies '*' to all list; so result is 100! [//] @a; # first defined [+] @b; # sum of all
Not operator, but very close - junctions are promising to be very convenient:
if $a eq "foo" | "bar" | "fluffy" { # do this stuff }
In reply to Re: Perl 6 - Operator renaming
by Courage
in thread Perl 6 - Operator renaming
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |