On Sun, 16 May 2004, Nishikant Kapoor wrote: > I do edit the template by hand but in this case, the mtime on the > template is not changing. However, the content for the template needs to > change based on whether the user is logged-in or logged-out.
Well that has nothing to do with the file cache. To convince yourself, turn it off and observe that nothing changes! The file cache is just saving HTML::Template the trouble of loading the template from disk every time it needs it. It has nothing to do with the output - that's driven by your calls to param(), which are reset after every new(). > > Huh, that's odd. I'm passing that mode as the second arg to mkdir(). > > That should work. Are you sure you didn't create the directory > > yourself? > > Yep, I made sure of that by removing 'tmplCache' and letting H::T create it. Interesting. Maybe mkdir() is broken on your system. I don't know why that would be... -sam ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users