[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Template and interpolation


On 4/22/05, Sam Tregar <suppressed> wrote:
> On Fri, 22 Apr 2005, RA Jones wrote:
> > Does anyone know how to fix this, as variable interpolation is one of the
> > reasons I use TT in place of HTML::Template.
> 
> Variable interpolation is, of course, a feature of HTML::Template.  To
> wit:
> 
>   Hi, my name is <tmpl_var name>.

I think in this case he means the INTERPOLATE option you can activate
in TT which allows you to use $var in your templates.

Of course HTML::Template provides a form of this as well with the
vanguard_compatibility_mode which allows %var%.

Cheers,

Cees

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.