My web customers, some who are HTML savvy, were asking for the ability to edit their HTML, which I had previously buried in CGI scripts. For precisely the reason mentioned previously, I switched to H::T. If I'm careful, I use H::T to simply fill in data from the MySQL database, but if I'm not careful, I find myself using H::T to actually write custom HTML, with the data embedded, to the template, thus, defeating the purpose.
in reply to html template in a perl script
The challenge for me, then, is to write more clever HTML or CGI to keep H::T doing what it's supposed to do.
I find no other downsides to using H::T, at least in terms of performance. Although like using any module, I feel a little guilty that it's so easy to use someone else's hard wrought code.
All in all, H::T is a winner for me.