On or about Thu, May 17, 2001 at 05:25:52PM +0100, Simon Cozens typed:
>Or you could do it in two lines:
>
>my $i;
>my %rank = map { $_ => ++$i } sort {$scores{$a} <=> $scores{$b}} keys %scores;
But can you make it do:
1. 20
2. 17
2. 17
4. 15
etc.?
Roger
- Re: More Questions Simon Cozens
- Re: More Questions Roger Burton West
- Re: More Questions David Cantrell
- Re: More Questions Mark Fowler
- Re: More Questions Simon Cozens
