in reply to Re: Sort the array
in thread Sort the array
your solution works fine. But Can you explain the line a but more ,
my @theSortedList = sort { $a <=> $b } @theList;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sort the array
by jwkrahn (Abbot) on Nov 10, 2008 at 11:53 UTC |