When you make POST request, CGI::param() uses the POST parameters and ignores the URL. When you make a GET request – as you did – (or HEAD, etc), it uses the URL parameters. Most of the time, this is just fine and is what you want.
This means that if you do need to know where CGI::param() got its values from, you can check CGI::request_method() to find out.
Makeshifts last the longest.
In reply to Re: GET variables overwriting POST variables
by Aristotle
in thread GET variables overwriting POST variables
by mjgp2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |