![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Array searchby th206 (Initiate) |
on Jan 28, 2006 at 19:21 UTC ( #526195=perlquestion: print w/replies, xml ) | Need Help?? |
th206 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Is there a way in Perl to search an array with its value and not by its index? like java does with "IndexOf".
Problem is: I have an array of 400 elements. Each element has some number stored. I'm trying to get the index of a particular element.
Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|