my ($index) = grep $array[$_] eq $search_for, 0 .. $#array;
In reply to Re: Answer: how do i find the index of a specific array value?
by japhy
in thread How do I find the index of a specific array value?
by BigVic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |