|XP is just a number|
use CGI or die, even with mod_perl?by Massyn (Hermit)
|on Apr 29, 2003 at 08:06 UTC||Need Help??|
Massyn has asked for the
wisdom of the Perl Monks concerning the following question:
The time has come for me to leave CGI's behind me, and start using mod_perl. It seems to have more benefits than CGI. As performance is my main driver, I'd be spending some time now on mod_perl.
Just a quick question on this. Would you still use cgi.pm, even though you'd be using mod_perl, and not CGI anymore?
And my final question: My scripts are full of the imfamous unweb procedure. I've managed to change that to use cgi.pm, for the obvious security issues. Is it important to use cgi.pm even for doing a simple thing like print "<h1>My site</h1>\n";? Personally, I'd prefer to keep using my print statements, unless there's some security or performance reason why I shouldn't.
#!/massyn.pl The early worm gets caught by the bird.