Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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;


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