in reply to Re: How to retrieve the worst value?
in thread How to retrieve the worst value?

Why all the excess complexity? sort { $h{$a} <=> $h{$b} } should be just fine here.
%hash = (processone => 1, processtwo => 0.005, processthree => 3); @_ = sort { $hash{$a} <=> $hash{$b} } keys %hash; print $_[0], ' => ', $hash{$_[0]}, " (lowest)\n"; print $_[-1], ' => ', $hash{$_[-1]}, " (highest)\n";

--
[ e d @ h a l l e y . c c ]