Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

help sorting hash of hashes by value

by Special_K (Monk)
on Apr 06, 2022 at 23:47 UTC ( [id://11142758]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            printf("foo: $foo, ba: $ba, value: %s\n", $hoh_test{$foo}{$ba}
    +);
        }
    }
    
  2. or download this
    foo: foo3, ba: baz, value: 0.0001939
    foo: foo3, ba: bar, value: 9.966003977e-06
    ...
    foo: foo2, ba: bar, value: -4.0183e-05
    foo: foo1, ba: baz, value: -0.000398154
    foo: foo1, ba: bar, value: -0.12697
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found