Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

sorting hash of array of hashes by value

by Special_K (Monk)
on Aug 26, 2014 at 18:21 UTC ( #1098646=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $data_hash{$key0}[$idx0]{$key1} = <some floating point value>
    
  2. or download this
    
    # create a new hash where the key is the value of the original hash, a
    +nd the value is an array of keys from the original hash that have the
    + given value
    ...
    
    
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2021-10-17 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (70 votes). Check out past polls.

    Notices?