in reply to Re: How to retrieve the worst value?
in thread How to retrieve the worst value?
Hi,
Why create an extra hash?
The sort by default sorts alfanumeric, so in your case 30 is better than 4.print +(sort { $a <=> $b } values %hash)[-1];
|
---|
In Section
Seekers of Perl Wisdom