in reply to Re: Finding a match between two paired arrays
in thread Finding a match between two paired arrays

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.

Replies are listed 'Best First'.
Re: Re: Re: Finding a match between two paired arrays
by duff (Parson) on Jan 08, 2004 at 15:53 UTC

    As does the OP's already existant solution :)