in reply to To CGI or not CGI, that is the question
I've never heard of "unweb". I don't remember anything of that name in CGI101. I assume that it's one of the broken CGI parsers that are common in scripts written by people who learnt CGI programming by copying Matt Wright's scripts.
It's clear that the CGI parameter parsing in CGI.pm is far superior to that found in most (if not all) of these parsers. See Use CGI or die; for the details on that. What is less clear is whether or not you should use the HTML shortcut functions in CGI programs.
Whilst there are advantages to using the HTML shortcuts ("sticky" form inputs and XHTML compliance are two that spring to mind immediately) personally I don't use them very often. I would remove the presentation layer from the CGI program completely and use a templating system (like the Template Toolkit).
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
---|