Why join all of the keys together with a space, then split them apart again?my @ranks = sort { $b <=> $a } keys %rank; for my $r (@ranks) { print "$r $rank{$r}\n"; }
In reply to Re: Re: splitting array values
by duff
in thread splitting array values
by mkurtis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |