Re: [htmltmpl] HTML::Template v2.7 is Coming!
Brought to you by:
samtregar
From: Cees H. <ce...@si...> - 2004-06-17 21:47:27
|
Sam Tregar wrote: > Hello all. I'm sure it will come as a great shock, but I'm planning > to make a new release of HTML::Template sometime next week. Here is > what I have so far: > > - Bug Fix: Improved cache keying to be sensitive to options which > alter the compilation of templates (path, search_path, > loop_context_vars and global_vars). Calls to new() with > different settings for any of these options will no longer pull > incorrect cached objects. Hi Sam, It's 2 years late for me, but still a welcome addition ;) http://bluedot.net/mail/archive/read.php?f=9&i=2530&t=2514 I worked around my problem in a different way, so I never brought it up again. I am guessing that you pulled out the key generation code into a subroutine that can be overridden in a subclass? That will allow for added flexibility with the filter support and caching, which is what sparked the discussion I linked to above (ie filters that dynamically alter the template based on external parameters could not be cached since the filter is only applied the first time). Cheers, Cees |