Re: [htmltmpl] RFC: Template Tag Attributes
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2004-06-02 17:12:44
|
On Wed, 2 Jun 2004, Luke Valenty wrote: > I use attributes in my template tags without using filters and without > messing around with HTML::Template's internals. Here is the format I > use: > > <TMPL_VAR NAME="name.arg1=val1.arg2=val2"> My eyes! They burn! AArrrrgh. Serriously, that's a terribly idea. Why are you using HTML::Template if you want to drive your program from the template? There are many systems better suited to this use: Mason, Template Toolkit, Embperl, etc. HTML::Template was designed to support a one-way data-flow from Perl code to HTML template. -sam |