![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How do I find the index of a specific array value?by myuserid7 (Scribe) |
on Aug 13, 2010 at 05:34 UTC ( #854830=note: print w/replies, xml ) | Need Help?? |
You should use first() from List::Util. It is a core module, unlike List::MoreUtils and other modules mentioned above, so it is portable and can be used with no extra effort.
In Section
Seekers of Perl Wisdom
|
|