[htmltmpl] HTML::Template Caching Problems
Brought to you by:
samtregar
From: Patrick H. <ph...@ex...> - 2005-01-12 18:18:44
|
I have two standard templates that all my pages use: headers.shtml and = footers.shtml. However, it seems as if one of my CGI files is reading the = headers.shtml file from an older cached version while my other CGI file is = reading the the more recent one. I've checked directories containing both files as well as the directory = with the .shtml files to see if there are hidden or cache files but there = are none. The changes I made yesterday were simply adding two links. I have a = couple more html and shtml files that have picked up the changes just = fine. This is what's contained in both files: use HTML::Template; ... my $header_template =3D HTML::Template->new(filename=3D>'/var/www/html/head= ers.shtml'); my $footer_template =3D HTML::Template->new(filename=3D>'/var/www/html/foot= ers.shtml'); ... print $header_template->output; ... print $footer_template->output; ... I have also checked Template.pm to make sure caching was turned off. Any = ideas? |