For this output 3-5 you'll need to "add the size of the arrays to get the ranks"
Something like
print $rank+1 ,'-', $rank+=@arr;
should do. Also untested ;)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^2: Condensed rank table output
by LanX
in thread Condensed rank table output
by tlk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |