SPUG: Is there some other recommended replacement for CGI.pm with Apache2?

O'neil, Jerome joneil at cobaltgroup.com
Thu Sep 18 12:26:07 CDT 2003


CGI.pm isn't nearly the monster that it's reputed to be.  It might be a bit
heavyweight for simple query term extraction, but for general purpose use,
its the best thing going.

-J

-----Original Message-----
From: Adam Monsen [mailto:adamm at wazamatta.com]
Sent: Thursday, September 18, 2003 9:41 AM
To: spug-list at mail.pm.org
Subject: Re: SPUG: Is there some other recommended replacement for
CGI.pm with Apache2?


Fred Morris wrote:
> Just wondering if maybe I should be moving to something else.. if there is
> anything else. Basically I use CGI.pm to get parameters and to emit
> response headers, and that's about it.

CGI.pm is a resource waster and the code looks a bit scary, but it seems 
to be quite an axiom, probably because it has the most desirable 
namespace. :)

CGI::Minimal is a nice drop-in replacement for CGI.pm param extraction 
(similar syntax), and HTTP::Headers could be used for, uh, HTTP headers. 
Both are relatively fast and lightweight. Arguably, headers aren't that 
hard to conjure by hand.

-- 
Adam Monsen

_____________________________________________________________
Seattle Perl Users Group Mailing List  
POST TO: spug-list at mail.pm.org  http://spugwiki.perlocity.org
ACCOUNT CONFIG: http://mail.pm.org/mailman/listinfo/spug-list
MEETINGS: 3rd Tuesdays, U-District, Seattle WA
WEB PAGE: http://www.seattleperl.org





This e-mail transmission contains information intended only for the use of
the recipient(s) named above. Further, it contains information that may be
privileged and confidential. If you are not the intended recipient, you are
hereby notified that any dissemination, distribution, or copying of this
message (including any attachments) is strictly prohibited. If you have
received this e-mail in error, please notify the sender by reply e-mail and
then delete this message from your mail system. Thank you for your
compliance.



More information about the spug-list mailing list