Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: convert HTML to CGI $query->htmltag(foo) style

by Zaxo (Archbishop)
on Aug 07, 2004 at 17:33 UTC ( [id://380930]=note: print w/replies, xml ) Need Help??


in reply to convert HTML to CGI $query->htmltag(foo) style

You might want to consider converting the HTML to template form instead. TT2 and HTML::Template are two popular template engines to drive them.

The advantage is in the separation of code from content. That reduces the crosstalk needed between page designers and cgi coders (even if they are the same person).

After Compline,
Zaxo

  • Comment on Re: convert HTML to CGI $query->htmltag(foo) style

Replies are listed 'Best First'.
Re^2: convert HTML to CGI $query->htmltag(foo) style
by sutch (Curate) on Aug 07, 2004 at 17:40 UTC
    I agree with Zaxo, separating code from content is a good thing.

    My wife has even noticed a decrease in how much I talk to myself since I have started using Template.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found