Comparing Two Arrays Using Perl

Posted by Buzkie on Stack Overflow See other posts from Stack Overflow or by Buzkie
Published on 2010-05-29T01:02:15Z Indexed on 2010/05/29 1:12 UTC
Read the original article Hit count: 266

Filed under:
|

I have two arrays. I need to check and see if the elements of one appear in the other one.

Is there a more efficient way to do it than nested loops? I have a few thousand elements in each and need to run the program frequently.

-Alex

© Stack Overflow or respective owner

Related posts about perl

Related posts about arrays