List::Util's first function will work, too, with the advantage of exiting as soon as something's found, saving the computation of searching all of both lists every time.
In reply to Re: Re: Finding a match between two paired arrays
by Zed_Lopez
in thread Finding a match between two paired arrays
by Sandy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |