Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: help sorting hash of hashes by value

by graff (Chancellor)
on Apr 07, 2022 at 01:10 UTC ( [id://11142759]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            print "foo: $$keys[0], ba: $$keys[1], value: $hoh_test{$$keys[
    +0]}{$$keys[1]}\n";
        }
    }
    
  2. or download this
    foo: foo1, ba: bar, value: -0.12697
    foo: foo1, ba: baz, value: -0.000398154
    ...
    foo: foo2, ba: baz, value: 0
    foo: foo3, ba: bar, value: 9.966003977e-06
    foo: foo3, ba: baz, value: 0.0001939
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            print "foo: $$keys[0], ba: $$keys[1], value: $hoh_test{$$keys[
    +0]}{$$keys[1]}\n";
        }
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found