Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 exploiting the Monastery: (4)
As of 2014-12-28 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls