What did you expected? your code is equivalent to...
for (1..10) { unless ($first) { $last = $_; $first = $last; } } print "$first..$last\n";
In reply to Re: what does this print?
by salva
in thread what does this print?
by fergal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |