$aref = [qw/1 2 3/]; print $#$aref; print $#{$aref}; # it is not the same as scalar(@$aref) print scalar(@$aref);
In reply to Re: last index of array ref...
by borisz
in thread last index of array ref...
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |