in reply to Thoughts on converting from HTML::Template to Template Toolkit
I still have extra blank lines I haven't figured out how to rid myself of, which wasn't an issue with H::T.If you can effort the extra memory you can use a [%FILTER%] with a simple regex to get rid of the blank lines. But, if your not outputting text/plain who cares about newlines in html, xml and the like?
USEing plugins just feels too much like code to me.Plugins are one of the strengths of TT. The ability to move the DB logic (DBI connections, querys, etc) into the template, is a feature I don't want to miss anymore. With plugins you can pull in the power of every perl module into your template.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Thoughts on converting from HTML::Template to Template Toolkit
by Tanktalus (Canon) on Mar 22, 2006 at 20:01 UTC |