How can I find the index of a specific element in an array.
For eg.
my @array = (2,4,7,5,8);
How can I get the index of the element 7
In reply to Finding the index of a specific element in an array. by Thakur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |