Are you sure? This does not work:
print $a if ++$a for qw/x y w h/;
while this does work:
do { print $a if ++$a } for qw/x y w h/;
(compare Syntax error in Nested for)
In reply to Re^3: Moose attribute predicate alternative
by hdb
in thread Moose attribute predicate alternative
by antmico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |