my @original = qw /5 100 2 8 40/; my $s = "A"; my @sorted = map {$_ -> [1]} sort {$b -> [0] <=> $a -> [0]} map {[$_ => $s ++]} @original;
Abigail
In reply to Re: Render numeric sequence as array of letters
by Abigail-II
in thread Render numeric sequence as array of letters
by gryphon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |