http://www.perlmonks.org?node_id=17868


in reply to How do I find the size of an array?

$#array will return the last index of array @array.

Originally posted as a Categorized Answer.