in reply to Perl scripts making my site slow

Alternatively, you can check the timestamp of the file and compare it against current time, to see if the current page request should generate a new file. (Whilst locking the files such as jeffa suggested). This is a better suggestion if you're on a webserver where you can't use cron jobs.


Grygonos