Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Numeric sorting WITHOUT <=>

by Tux (Monsignor)
on Oct 10, 2012 at 10:09 UTC ( #998191=note: print w/ replies, xml ) Need Help??


in reply to Numeric sorting WITHOUT <=>

TIMTOWTDI

my @sorted_keys = map { unpack "l>", $_ } sort map { pack "l>", $_ } k +eys %jetsons;

Enjoy, Have FUN! H.Merijn


Comment on Re: Numeric sorting WITHOUT <=>
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-09-02 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (32 votes), past polls