Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: highest value in hash (defined)

by Anonymous Monk
on Mar 31, 2013 at 04:12 UTC ( #1026330=note: print w/ replies, xml ) Need Help??


in reply to Re: highest value in hash
in thread highest value in hash

Just say no to defined :)

... my( $highest_value, $highest_key ) = each %hash; while (my ($key, $value) = each %hash) ...


Comment on Re^2: highest value in hash (defined)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-07-25 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls