Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Re: Re: html template in a perl script

by jdtoronto (Prior)
on Sep 22, 2003 at 03:52 UTC ( #293079=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: html template in a perl script
in thread html template in a perl script

Well, it is dangerous in the sense that it is only, IMHO, a partial separation of Perl and HTML. As a pragmatic point I consider that the programme and the presentation should 'always be separated when it is reasonably possible to do so'.

The viewpoint I was hoping to express here is that if this technique works for you, then use it. But beware, it is only a half measure and wilst I would consider it appropriate for small or simple applications. I think the original question included a remark about the writer preparing some scripts for a friend where a simple script and a single template were involved. As a method of packaging the script and template where the author is likely to be the one modifying both parts then it might be a pragmatically acceptable alternative.


Comment on Re: Re: 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://293079]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2015-10-13 18:55 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (313 votes), past polls