in reply to Re: HTML::Template vs. Template Toolkit
in thread HTML::Template vs. Template Toolkit

I agree in principle, but there are situations where it's easier to put logic in the template. If, for example, a template is built with several other templates selected at run-time based on input values, it seems like it would be more difficult with HTML::Template than TT2. Allowing some logic in the template frees programmer time to write code while designers can build new templates without requiring cgi modifications.
  • Comment on Re: Re: HTML::Template vs. Template Toolkit