Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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) ...

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 having an uproarious good time at the Monastery: (13)
As of 2016-08-29 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (403 votes). Check out past polls.