$Bill Luebkert:
# Brent Dax wrote:
#
# > Paul Roberts:
# > #   read(STDIN,$buf,$ENV{'CONTENT_LENGTH'});
# >
# > Please, please, please I BEG OF YOU, use CGI.pm!
#
#
# 1) I'm not a fan of CGI.pm
#
# 2) This was just some test code to see what the form was sending.
#
# 3) Lighten up with the religious CGI.pm preaching.  Remember there is
# always more than one way to do it.  :)

That doesn't mean that all ways are equal.  :^)

If this is test code, okay.  The reason I strongly suggest CGI.pm for
production code is that it's time-tested and well-maintained.  If
someone discovers a bug, it gets fixed--will that happen with your
hand-hacked algorithm?

Also, there are about a million corner cases in hand-hacked code.  For
example, it's legal in HTTP to use ';' instead of '&' to separate
fields.  Does your code handle that?

I can't enumerate all the arguments for CGI.pm, so I'll paste in a link
instead.  There are many, many good articles on this on PerlMonks,
including:

        http://www.perlmonks.org/index.pl?node_id=51012
        http://www.perlmonks.org/index.pl?node_id=28499

--Brent Dax <[EMAIL PROTECTED]>
@roles=map {"Parrot $_"} qw(embedding regexen Configure)

#define private public
    --Spotted in a C++ program just before a #include

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to