Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Is using $#array Frowned on?by Kenosis (Priest) |
on Feb 13, 2014 at 20:48 UTC ( [id://1074892]=note: print w/replies, xml ) | Need Help?? |
$#array is perfectly acceptable for getting the value of @array's last index (i.e., the subscript of the last element).
In Section
Seekers of Perl Wisdom
|
|