Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Sort Array

by ihb (Deacon)
on May 21, 2005 at 13:32 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://459241]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found