Few people bother with writing for(my $i = $[; $i <= $#arr; $i++)
In Perl 5 $[ is a lexical compiler directive, so you don't have to worry about other users messing with your code through $[.
lodin
In reply to Re^2: Reference assessment techniques and how they fail ($[)
by lodin
in thread Reference assessment techniques and how they fail
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |