Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Comparison between keys in hash

by i5513 (Pilgrim)
on Jul 06, 2011 at 16:40 UTC ( #913021=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $counting{word}{$word}{str1}=$counter;
    $counting{word}{$word}{str2}=$counter;
    
  2. or download this
    foreach my $word (keys %{$counting{word}})
    {
       print "$word\t", min ($counting{word}{$word}{str1},
                           $counting{word}{$word}{str2})
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2023-11-30 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?