XP is just a number | |
PerlMonks |
Re^6: Unwanted parameter when executing CGI scriptsby Nocturnus (Beadle) |
on Jan 07, 2013 at 08:07 UTC ( [id://1011970]=note: print w/replies, xml ) | Need Help?? |
But that was exactly my problem: If I called /cgi-bin/script.pl(i.e. without any parameters and without query string), CGI.pm behaved like if I had called /cgi-bin/script.pl?keywords=I should have mentioned that my application in this case needed to get the parameters from the query string only (GET parameters) and that it should not get the POST parameters. Thus, I was using $q -> url_paramsinstead of $q -> paramPerhaps that's the reason for the misbehavior. Furthermore, I have seen some more misbehavior (see post below), so I dumped CGI.pm; I am now parsing the query string myself. Regards, Nocturnus
In Section
Seekers of Perl Wisdom
|
|