$#array is still useful if you are looping over an array by index, like this
for my $i (0..$#array) { # do something with $array[$i] }
-- Hofmator
In reply to Re4: where to look up "funny looking" perl notation (and an example)
by Hofmator
in thread where to look up "funny looking" perl notation (and an example)
by glwtta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |