in reply to Re: Re: Re: sorting hashes by value
in thread sorting hashes by value

Or it may be easier to understand as this:
foreach my $sortedkey (sort {$hashname{"$a"} <=> $hashname{"$b"} } key +s %hashname) { printf "Value: %d Key: %s", %hashname{"$sortedkey"}, $sortedkey; }


-Waswas