Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Re: Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template

by jdklueber (Beadle)
on Jul 01, 2003 at 16:47 UTC ( #270537=note: print w/replies, xml ) Need Help??


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
  • Comment on Re: Re: Re: Re: Web Application Frameworks and their Templating Engines with a Comparative Study of Template and HTML::Template