Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Fast Way to find one array in second arrayby LanX (Saint) |
on Aug 14, 2016 at 18:52 UTC ( [id://1169755]=note: print w/replies, xml ) | Need Help?? |
So you are looking for set inclusion, not array inclusions. (Arrays have order! )
editIn this case using hash slices should do.
updateSee Using hashes for set operations...
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|