your solution works fine. But Can you explain the line a but more ,
my @theSortedList = sort { $a <=> $b } @theList;
In reply to Re^2: Sort the array
by shekarkcb
in thread Sort the array
by sandy_1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |