Perl-Sensitive Sunglasses | |
PerlMonks |
Re: How do I find the index of the last element in an array?by vroom (His Eminence) |
on Jan 09, 2000 at 01:05 UTC ( [id://1893]=note: print w/replies, xml ) | Need Help?? |
You can find it in the special variable $#arrayname For example:
In Section
Seekers of Perl Wisdom
|
|