Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Hashes for counting

by fullermd (Curate)
on Aug 07, 2010 at 10:32 UTC ( #853535=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $has{$peer_address}->{times_connect}=$has{$peer_address}->{times_conne
    +ct}+1;
    
  2. or download this
    $has{$peer_address}{times_connect}++;
    
  3. or download this
    $has{$peer_address}++;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2014-09-17 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (82 votes), past polls