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

For the extreemly lazy

You could use a HERE statement.

$html = <<HERE; THIS IS THE HTML STUFFZ HERE print $html;
I would not recomend doing this for pages you plan to update frequently or if you endup with more lines of html than of perl in that program.
If you are thinking about the HERE statement route I would suggest reading the html in from a file, that way the perl is clearer and cleaner.

jcpunk
all code is tested, and doesn't work so there :p (varient on common PM sig for my own ammusment)