On Fri, 7 Jan 2005, Mark Fuller wrote:

> > Why?  I still haven't heard a compelling use-case aside from dynamic
> > includes which I think can be handled in better ways.
> 
> Ooops. We're talking about two different things. What I said above concerns
> evaluation of a template which needs to be performed *only once*.

Are you sure it needs to happen "only once"?  Your example doesn't
support that meaning.  In your example the language-specific stuff
needs to change when the language changes.  It's not as often as the
rest of the variables (presumably) but it's surely not just once.

For transformations that really need to happen only once I suggest you
make them with a text editor!

> Does that sound like a reasonable usage?

Maybe, but I still don't see why you'd want to do it.  HTML::Template
is fast enough that it doesn't seem like a worthwhile optimization
versus the work it would take to implement.

-sam


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to