Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Old_Gray_Bear's scratchpad

by Old_Gray_Bear (Bishop)
on Jun 01, 2004 at 17:49 UTC ( [id://358317]=scratchpad: print w/replies, xml ) Need Help??

sort sort_sub, keys(%a_hash); # Sort allows you to use a subroutine to evaluate the keys. # See perldoc -f sort. sub sort_sub { return($a_hash{$a} cmp $a_hash{$b} } # -- Assumes that the values in the hash are character strings; use '< +=>' if they are not


Stuff
Zen And The Art Of Perl Poetry
The path to mastery
How to apply patches to PM code
PerlMonks CSS Examples
Greatest programming mistakes and what to learn from
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-06-25 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.