Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: html template in a perl script

by bradcathey (Prior)
on Sep 21, 2003 at 13:31 UTC ( #292984=note: print w/ replies, xml ) Need Help??

in reply to html template in a perl script

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.

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.

Comment on Re: html template in a perl script

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://292984]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-11-27 21:37 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls