Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: Useless use of substr in void context

by leira (Monk)
on Feb 25, 2004 at 03:38 UTC ( [id://331593]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re: Useless use of substr in void context
in thread Useless use of substr in void context

I believe the suggestion is that you use the URL for the key, and set the *value* to undef. Then you'll still have a hash with all of the URLs in it as keys.

Like this:

     $fetched{$url} = undef;

Does this make sense?

Linda

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-23 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found