hmm... general perl-ism is to use a leading underscore to refer to the method
call as being private.
Mathew
----- Original Message -----
From: "Sam Tregar" <sam@xxxxxxxxxx>
To: "Cees Hek" <cees@xxxxxxxxxxxxxxxx>
Cc: <html-template-users@xxxxxxxxxxxxxxxxxxxxx>
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:
>
> > 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
>
>
>
> -------------------------------------------------------
> 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
> Html-template-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/html-template-users
>
-------------------------------------------------------
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
|