if (defined ($q->param('foo')) { print "foo is defined!\n"; print "foo = ", $q->param('foo'), "\n"; }
regardless of the means by which the parameters were generated.
Well formed HTML forms either specify a method of POST _or_ GET, not both. Doing both is supported by CGI, but only because the CGI developers are kind to web developers, not because it's an actual part of the CGI standard. More explicitly, you shouldn't generally care which method is used.
If you can provide more information about your problem and what you're trying to accomplish, other monks might be able to help you solve the real issue, as opposed to processing GET and POST simultaneously
In reply to Re: making a difference between POST parameters and URL parameters
by Sinistral
in thread making a difference between POST parameters and URL parameters
by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |