Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: sorting hash of array of hashes by value

by LanX (Sage)
on Aug 26, 2014 at 21:25 UTC ( #1098681=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        my $v = $flat{$k};
        say "$v \t<= \t", join ",  ", split ( $; , $k );
    }
    
  2. or download this
    -69     <=     key0.1,  2,  key1.6
    -33     <=     key0.2,  1,  key1.12
    ...
    13     <=     key0.1,  1,  key1.5
    17.8     <=     key0.1,  0,  key1.2
    127     <=     key0.1,  2,  key1.7
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2021-10-24 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?