Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Logical operations on arrays

by MidLifeXis (Prior)
on Oct 04, 2012 at 12:21 UTC ( #997227=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @hash1{@array1} = (1)x@array1
    
  2. or download this
    push( @intersection, grep { $hash1{$_} } @array2 );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (19)
As of 2014-11-24 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (143 votes), past polls