in reply to Re: find position of element of array
in thread find position of element of array

Wow, and all this time I've been doing variations of
for (my $i = 0; $i < @foo; ++$i) { if ($foo[$i] eq $match_element) { return $i; } }
just another cpan module author