Re: Leaving tmp_var intact inside template
"Brad Baxter" <[email protected]> Tue, 29 Jul 2008 09:01:45 -0400
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 28, 2008 at 5:29 PM, city crew <[email protected]> wrote: > > I like that, I was experimenting with !TMPL_VAR but yours seems more > semantically appealing. (I'm practicing my impressive technical speak > there...) > Using !TMPL_VAR would allow for "3-pass" or "n-pass" templating. That is, change !TMPL_VAR to TMPL_VAR on each pass. If you then have !!TMPL_VAR, it survives to the third pass. I actually do this (albeit with a different templating system), though I can recall only a couple of times I ever needed !!. Brad ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Html-template-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/html-template-users