Kurtis wrote:

> Hey Timothy,
> 
>   I couldn't get it to work.......I know you can sort on keys, so I went
>   out
> the cheap way....I switched the values with my keys...it's no problem
> because my values are unique also....
> 

why not just sort on the values?

foreach my $value (sort {$a <=> $b} values %hash){
        print "$value\n";
}

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to