Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Hashes for counting

by fullermd (Priest)
on Aug 07, 2010 at 10:32 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://853535]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found