which printsuse strict; use warnings; my $x; for $x (1 .. 3) { last if $x == 2 } print $x;
Use of uninitialized value in print at - line 5.
In reply to Re^3: Last undefines a for loop's itererator?
by Errto
in thread Last undefines a for loop's itererator?
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |