Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Athanasius (Archbishop)
on Sep 06, 2014 at 03:27 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found