Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to compare hash values within the same hash?

by choroba (Canon)
on Sep 24, 2013 at 22:39 UTC ( #1055555=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %hash = (
        key1 => 10,
        # ...
    );
    
  2. or download this
    my %freq;
    my ($max_freq, $max_value) = 0;
    ...
        }
    }
    print "$max_value: $max_freq times\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2015-05-04 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (93 votes), past polls