in reply to sorting the column of array element
Hi, I am trying to sort the zeroth array element
By this do you mean that your $array[0] is a reference to an array?
If so, you want something like
@sort = sort {$b <=> $a} @{ $array[0] };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sorting the column of array element
by anonym (Acolyte) on May 24, 2012 at 00:14 UTC | |
by ww (Archbishop) on May 24, 2012 at 12:10 UTC |