Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Fast Way to find one array in second array

by LanX (Saint)
on Aug 14, 2016 at 18:52 UTC ( [id://1169755]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Fast Way to find one array in second array
in thread Fast Way to find one array in second array

So you are looking for set inclusion, not array inclusions. (Arrays have order! )

edit

In this case using hash slices should do.

update

See Using hashes for set operations...

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^4: Fast Way to find one array in second array
by melmoth (Acolyte) on Aug 14, 2016 at 19:20 UTC

    thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1169755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-29 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found