First build a hash of arrays with names of same score.
$score{13} = [ "Sarah", "Jacob", "Donny" ]
Than sort this hash.
When printing add the size of the arrays to get the ranks.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: Condensed rank table output
by LanX
in thread Condensed rank table output
by tlk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |