My intuition is that you're using mod_perl and you're running into a closure, as I had similar problems with mod_perl. If you are using mod_perl, be sure you
use strict; and that you pass everything to any subroutine you employ, including blessed references. Anything you don't pass will maintain a life of its own (in a sense) within the subroutine, so be careful.
Again, as said, use Pragma or Cache-Control to prevent caching, either in HTML as:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> or as an HTTP header:
Pragma: no-cache - there's also the newer (and probably better, ie. HTTP 1.1)
Cache-Control: no-cache header that can also be smushed into a meta tag:
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">. I'd use both as HTTP headers if I wanted to prevent caching.
Hope it helps,
-Adam
--
Impossible! The Remonster can only be killed by stabbing him in the heart with the ancient bone saber of Zumakalis!