Of course, you'd define evaluate() to test for the actual condition you're interested in.my( $i ) = grep { evaluate($array[$_]) } 0 .. $#array;
In reply to Re: How do I find the position of an element in an array?
by runrig
in thread How do I find the position of an element in an array?
by lrenigu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |