In general direct logic for accessing things by position is un-Perlish and it is worth trying to see if you can (not that you always can) avoid it...@sorted = sort {$b->[1] <=> $a->[1]} @total;
In reply to Re (tilly) 1: I need to sort a 2D list.
by tilly
in thread I need to sort a 2D list.
by aykes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |