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

Re: Logical operations on arrays

by Kenosis (Priest)
on Oct 04, 2012 at 15:59 UTC ( #997252=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my ( $a, $b ) = @_;
        return List::Compare->new( $a, $b )->get_union;
    }
    
  2. or download this
    @a = a b c
    @b = b c d
    ...
    @a AND @b = bc
    
    @a OR @b = abcd
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997252]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-12-08 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (135 votes). Check out past polls.