Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 browsing the Monastery: (9)
As of 2014-07-14 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (256 votes), past polls