I'm not sure why you are using the outer loop below?A different interpretation of "the first occurence to in the second array is not zero"; mine prints 1 1. No idea which interpretation (if either) is actually what is wanted.
I like that your new version reports undefs instead of (@AoA, 0) if there is no match.
In reply to Re^4: Control loop 2D array
by ysth
in thread Control loop 2D array
by FFRANK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |