Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Please help to sort array
I have an array contains the list for the following:
@arr=(' F1.jpg F10.jpg F11.jpg F12.jpg F1a.jpg F1b.jpg F2.jpg F3.jpg F4.jpg F5.jpg F6.jpg ');
And I need sorted array for the follwoing
@arr=(' F1a.jpg F1b.jpg F1.jpg F2.jpg F3.jpg F4.jpg F5.jpg F6.jpg F10.jpg F11.jpg F12.jpg ');
Is there any coding or any modules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sort Array
by davido (Cardinal) on May 21, 2005 at 04:41 UTC | |
|
Re: Sort Array
by TedPride (Priest) on May 21, 2005 at 07:14 UTC | |
|
Re: Sort Array
by ihb (Deacon) on May 21, 2005 at 13:32 UTC | |
by Cody Pendant (Prior) on May 22, 2005 at 01:58 UTC | |
|
Re: Sort Array
by polettix (Vicar) on May 21, 2005 at 15:20 UTC | |
|
Re: Sort Array
by salva (Canon) on May 21, 2005 at 08:09 UTC | |
|
Re: Sort Array
by BUU (Prior) on May 21, 2005 at 04:38 UTC |