Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Comparing 2 hash tables where values are stored in arrays

by Athanasius (Archbishop)
on Sep 06, 2014 at 03:27 UTC ( #1099736=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
        say get_unique    ( [ $hash1{$key} // [], $hash2{$key} // [] ] );
        say get_complement( [ $hash1{$key} // [], $hash2{$key} // [] ] );
    }
    
  2. or download this
    13:23 >perl 1000_SoPW.pl
    2,4
    5,7
    
    13:23 >
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-12-09 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?