[thelist] Perl problem and question

John Handelaar genghis at members.evolt.org
Mon Aug 6 16:13:27 CDT 2001


> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Dwayne
> Sent: 06 August 2001 17:46
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Perl problem and question
> On Sunday 05 August 2001 22:28, Poojie wrote:
>
> > Martin wrote: -----------------------------------------
> > However, there are plenty of fairly sensible modules and libraries
> > available which will do this job.
> >
> > 2 of the most common are
> > cgi.pm
> > cgi-lib.pl
> >
> > ---------------------------------------------------------
> >
> > True. The downside to using these for simple projects is the
> > overhead that they require to run (especially CGI.pm), which makes
> > using a single function more attractive.
>
> well, that depends on what you're doing - using CGI.pm for
> nothing more than
> a redirect is silly, but using _anything_ is better than writing your own
> form parsing code. i can think of a few examples of popular scripts that
> would have benefited greatly from using CGI.pm.

Using cgi-lib.pl is something that its *author* strongly
discourages.  cgi.pm is a replacement, not an alternative.

The older library is insecure, burns memory and (on my
server OS at least) doesn't support POST as a method at
all.  Avoid.

------------------------------------------
John Handelaar

T +44 20 7209 4117       M +44 7930 681789
F +44 870 169 7657   E john at userfrenzy.com
------------------------------------------





More information about the thelist mailing list