in reply to time in mod_perl

I'm not 100% but pretty sure you're mistaken - time() should always return the current time. Are you sure you're not caching the script's output?

update: here's a piece of documentation that indicates time() does return the current time under mod_perl