Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: How do I find the index of the last element in an array?by heezy (Monk) |
on Oct 13, 2002 at 17:38 UTC ( [id://204925]=note: print w/replies, xml ) | Need Help?? |
Just for any newbies... Don't forget array indicies start at zero @letterList = ("a", "b", "c", "d"); a is at position 0 b " " " 1 c " " " 2 ... Hope that helps out anyone who fell for the oldest trick in the book Mark
In Section
Seekers of Perl Wisdom
|
|