hotshot has asked for the wisdom of the Perl Monks concerning the following question:
In order to get:@list = qw(nfs-4 afp-2 cifs-8 nfs-2 cifs-1 afp-7 cifs-11);
There are both string sorting and numeric sorting (in order not to get cifs-1 cifs-11 cifs-8).@sortedList = qw(afp-2 afp-7 cifs-1 cifs-8 cifs-11 nfs-2 nfs-4);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sorting question
by Abigail-II (Bishop) on Aug 01, 2002 at 15:05 UTC | |
|
Re: sorting question
by redsquirrel (Hermit) on Aug 01, 2002 at 15:10 UTC | |
by Abigail-II (Bishop) on Aug 01, 2002 at 15:24 UTC | |
|
Re: sorting question
by Tomte (Priest) on Aug 01, 2002 at 15:16 UTC | |
|
Re: sorting question
by Jaap (Curate) on Aug 01, 2002 at 19:57 UTC |