For instance, $i has the scalar value 13006, I'll bet.
Bet lost :-)
$ perl -wle 'my $i = (0..13005); print $i' Use of uninitialized value in range (or flip) at -e line 1. Use of uninitialized value in range (or flop) at -e line 1. 1
It's not evaluated as a list (of which the last element is taken), but rather as a flip flop that matches against $_ $..
In reply to Re^2: Match within array
by moritz
in thread Match within array
by Perl_girl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |