Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Count of downloads from web site.

by joshua (Pilgrim)
on Jul 15, 2002 at 17:18 UTC ( [id://181860]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Count of downloads from web site.
in thread Count of downloads from web site.

You don't check to see if your match succeeded, and just let the script run into an invalid redirect or possibly the first of your dies.
Ah, that's why I said...
Obviously it wouldn't be great to use for production, but you get the idea.
I didn't include an error routine just for simplicity sake, though it may have been a good idea to.
Also, when you reopen the counter file for writing, you lose the lock.
Thanks for the point there.

Joshua

  • Comment on Re^3: Count of downloads from web site.

Log In?
Username:
Password:

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

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

    No recent polls found