@temp = map { length $_ } @strings; @sorted = @strings[sort{$temp[$a]<=>$temp[$b]} $[..$#temp];
In reply to Re: Efficient sorting using the Schwartzian Transform
by I0
in thread Efficient sorting using the Schwartzian Transform
by chromatic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |