Selvakumar has asked for the wisdom of the Perl Monks concerning the following question:
I have a array like this.
@array=("ch1","ch11","ch2","ch5","ch55","ch16");
i need to sort like
ch1
ch2
ch5
ch11
ch16
ch55
How can i do that?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: sorting an array
by moritz (Cardinal) on Jul 10, 2009 at 07:10 UTC | |
| |
| |
Re: sorting an array
by johngg (Canon) on Jul 10, 2009 at 09:50 UTC | |
Re: sorting an array
by 1Nf3 (Pilgrim) on Jul 10, 2009 at 07:40 UTC | |
Re: sorting an array
by ELISHEVA (Prior) on Jul 10, 2009 at 08:08 UTC | |
Re: sorting an array
by cdarke (Prior) on Jul 10, 2009 at 10:53 UTC | |
Re: sorting an array
by JavaFan (Canon) on Jul 10, 2009 at 10:59 UTC | |
Re: sorting an array
by missingthepoint (Friar) on Jul 10, 2009 at 09:09 UTC | |
Re: sorting an array
by pKai (Priest) on Jul 10, 2009 at 11:59 UTC |
Back to
Seekers of Perl Wisdom