Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 having an uproarious good time at the Monastery: (8)
As of 2014-10-25 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls