Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

inverting hash / grouping values

by LanX (Bishop)
on Sep 27, 2013 at 14:21 UTC ( #1055985=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<122> sub invert {
                 my ($h)=@_;
    ...
    
      DB<125> invert \%t
     => (1, ["e", "c", "a"], 2, ["b", "d", "f"])
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1055985]
Front-paged by Corion
help
Chatterbox?
and the daffodils sway...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2018-02-19 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (259 votes). Check out past polls.

    Notices?