XP is just a number | |
PerlMonks |
•Re: is there something wrong with this code?by merlyn (Sage) |
on May 18, 2002 at 21:22 UTC ( [id://167560]=note: print w/replies, xml ) | Need Help?? |
There's something wrong with the code in principle: as in, hit counters are bad -- you should be grepping the logs instead, and even those are wrong because of
proxies and caching.
But specifically, this code: makes this a "one hit wonder". {grin} Each new hit overwrites the previous file instead of appending it. Change your > to a >> there. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|