in reply to Finding index of an entry in an Array
Wanting to do this is often a clue that you shouldn't have been using an array in the first place.
In Section
Seekers of Perl Wisdom
in reply to Finding index of an entry in an Array