Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Sort Array

by ihb (Deacon)
on May 21, 2005 at 13:32 UTC ( #459241=note: print w/replies, xml ) Need Help??


in reply to Sort Array

use Sort::Naturally; @arr = nsort @arr;
Done!

ihb

See perltoc if you don't know which perldoc to read!

Replies are listed 'Best First'.
Re^2: Sort Array
by Cody Pendant (Prior) on May 22, 2005 at 01:58 UTC
    I didn't know that existed. Interesting.

    I was just about to suggest using Sort::Versions.



    ($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
    =~y~b-v~a-z~s; print

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2020-10-30 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (284 votes). Check out past polls.

    Notices?