in reply to apache/perl caching problem

What about your browser cache? If your server delivers wrong expiry information for your pages, your browser might keep old versions of your webpages in the cache and you get the impression you see previous scripts at work.