in reply to GET overriding POST?

I don't dable in cgi very often, but it was my understanding that you use either get or post, and can't use both. If a get string is there, the post is ignored. I think typically it goes like this:
if ($ENV{'REQUEST_METHOD'} eq "GET") { $form_data = $ENV{'QUERY_STRING'}; } else { $form_data = <STDIN>;
So as soon as that query string is detected, the method is set to GET, and it will override the POST.

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: GET overriding POST?
by Anonymous Monk on Mar 17, 2006 at 20:06 UTC
    No POST overrides GET and the GET is visible as urlparam() from CGI.pm anyway so you can use both.