in reply to Re: Re: Re: Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template
in thread Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template
Quite easy in fact.
Just don't use HTML tags. All HTML::Template does is generate a string by doing replacement of <tmpl_var name='foo'> with the value of parameter foo, and a little intelligent looping and if/else/unless-ing. There's no reason you HAVE to use it only for generating HTML from processed CGI requests.
--
Jason Klueber
ookami@insightbb.com
/(bb)|^b{2}/
--Shakespeare
Just don't use HTML tags. All HTML::Template does is generate a string by doing replacement of <tmpl_var name='foo'> with the value of parameter foo, and a little intelligent looping and if/else/unless-ing. There's no reason you HAVE to use it only for generating HTML from processed CGI requests.
--
Jason Klueber
ookami@insightbb.com
/(bb)|^b{2}/
--Shakespeare
In Section
Meditations