laziness, impatience, and hubris | |
PerlMonks |
Re: First Value in hash (List::Util::minstr())by lodin (Hermit) |
on Jan 08, 2008 at 11:18 UTC ( [id://661057]=note: print w/replies, xml ) | Need Help?? |
Instead of sorting the keys, which is unnecessary work, you can use List::Util's minstr subroutine.
lodin
In Section
Seekers of Perl Wisdom
|
|