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);
In reply to sorting question by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |