Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: How do I find the index of the last element in an array?by vroom (His Eminence) |
on Nov 15, 2000 at 23:38 UTC ( [id://41841]=note: print w/replies, xml ) | Need Help?? |
You can find it in the special variable $#arrayname
Originally posted as a Categorized Answer.
In Section
Seekers of Perl Wisdom
|
|