Re: [htmltmpl] HTML::Template v2.7 is Coming!
Brought to you by:
samtregar
From: Mathew R. <mat...@re...> - 2004-06-18 00:24:45
|
hmm... general perl-ism is to use a leading underscore to refer to the = method call as being private. Mathew ----- Original Message -----=20 From: "Sam Tregar" <sa...@tr...> To: "Cees Hek" <ce...@si...> Cc: <htm...@li...> Sent: Friday, June 18, 2004 8:21 AM Subject: Re: [htmltmpl] HTML::Template v2.7 is Coming! > On Thu, 17 Jun 2004, Cees Hek wrote: >=20 > > 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). >=20 > 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. >=20 > -sam >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, = CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code = NWMGYKND > _______________________________________________ > Html-template-users mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/html-template-users > |