Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Hashes for counting

by fullermd (Priest)
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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-09-29 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (545 votes). Check out past polls.