Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Sorting by numbers

by the_slycer (Chaplain)
on Aug 14, 2002 at 18:52 UTC ( #190190=note: print w/replies, xml ) Need Help??


in reply to Sorting by numbers

Sounds like you are doing just a sort list
What you need is sort { $a <=> $b }list See the perlfunc manpage for sort

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2020-06-02 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (12 votes). Check out past polls.

    Notices?