in reply to Re: Searching parallel arrays.
in thread Searching parallel arrays.

I'm not sure I fully understand, but wouldn't that approach fail for a configuration like this:

my @a1 = ( 1, 3, 5 ); my @a2 = ( 2, 4, 6 ); my @a3 = ( 205, 207, 315 ); my @a4 = ( 206, 208, 314 );

Replies are listed 'Best First'.
Re^3: Searching parallel arrays.
by Corion (Patriarch) on Dec 08, 2006 at 15:48 UTC

    Indeed - my approach will fail for such configurations, thanks for pointing that out!