go ahead... be a heretic | |
PerlMonks |
Find Index value of a specific element in an arrayby l.frankline (Hermit) |
on Jan 03, 2006 at 05:57 UTC ( [id://520502]=perlquestion: print w/replies, xml ) | Need Help?? |
l.frankline has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks, I am trying to find out the index value of a specific element in an array. I have tried below code and it is working fine, Is there any shortest and easiest way.
Results: Index value for xiv is: 14Thanks in advance Don't put off till tomorrow, what you can do today.
Back to
Seekers of Perl Wisdom
|
|