"be consistent" | |
PerlMonks |
Re: how do i find the index of a specific array value?by I0 (Priest) |
on Apr 26, 2001 at 10:03 UTC ( [id://75723]=note: print w/replies, xml ) | Need Help?? |
You could use an index hash:
This is a win, for larger arrays, if you need to do multiple/many lookups while the array remains static.
In Section
Seekers of Perl Wisdom
|
|