in reply to CGI.pm Disillusionment

I must be the only one on this thread who gets a big kick out of using CGI.pm HTML generation methods. :D Having said that, i never use them for 'production code', unless it's just a tiny little 'add on' or something.

So, why use CGI.pm for generating HTML? For small test examples, especially for this site.

Is there any real gain in using CGI.pm for generating HTML? Yes. These methods come to mind: header(), param(), query(), upload(), cookie(), and start_html(). [oops, only two of those actually generate HTML, 3 if you include cookie ... i changed my message mid sentance :/ ] The rest are supplemental, IMHO (and i may have missed a few more 'important' ones).

So, let's cover those questions you have now:

UPDATE: (Tue Jun 17 2003)
Here is an example of using CGI.pm to generate HTML that makes sense, but it is an isolated example: (jeffa) Re: automagic-HTML regex

Hope this helps,

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)