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.