Posted By: Trifid (roboti dosli...) on 'CZscripts'
Title:     Re: Perl - setrideni hashe posle values.
Date:      Sat Apr 29 21:07:22 2000

> 
> Jak se tridi hash podle hodnot?

hash nema obecne zarucene "poradi", takze chces neco jako

print "$_ => $hash{$_}n" foreach (sort{$hash{$a} cmp $hash{$b}}keys %hash); 


-- Trifid@Redigy.Cz ---------------------------------------------- ? --

Search the boards