Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-08-01 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (257 votes), past polls