Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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 surveying the Monastery: (2)
As of 2016-04-30 01:06 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (441 votes). Check out past polls.