Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: inverting hash / grouping values

by kcott (Abbot)
on Sep 28, 2013 at 15:10 UTC ( #1056141=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    
    use Data::Dump;
    dd \%h, \%i, \%j;
    
  2. or download this
    $ pm_hash_invert.pl
    (
    ...
      { 1 => ["a", "e", "c"], 2 => ["f", "b", "d"] },
      { 1 => ["a", "e", "c"], 2 => ["f", "b", "d"] },
    )
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2014-08-27 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (248 votes), past polls