Re: [htmltmpl] HTML::Template v2.7 is Coming!
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2004-06-17 22:21:09
|
On Thu, 17 Jun 2004, Cees Hek wrote: > 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). You're right, I did. There's a new method _cache_key() which could be overridden in a sub-class to manipulate the cache key. -sam |