Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: string occurences

by MeowChow (Vicar)
on Jun 12, 2001 at 21:20 UTC ( [id://87878]=note: print w/replies, xml ) Need Help??


in reply to Re: string occurences
in thread string occurences

$counts{$url}=0 if !defined $counts{$url};
That line is unnecessary. Autoincrement on an undefined hash key autovivifies the key and sets the value to 1.
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found