http://qs1969.pair.com?node_id=41841


in reply to How do I find the index of the last element in an array?

You can find it in the special variable $#arrayname

Originally posted as a Categorized Answer.