|Problems? Is your data what you think it is?|
Re^6: Unwanted parameter when executing CGI scriptsby Nocturnus (Sexton)
|on Jan 07, 2013 at 08:26 UTC||Need Help??|
Well, it might make sense, but it's not what I want. As I wrote above, the problem arose when I was trying to pass parameters from the query string to another script by constructing a link which contains these parameters. I used the following method (pseudocode):
Now, I if call/cgi-bin/scriptA.pl
(without any parameters), the resulting link is/cgi-bin/scriptB.pl?keywords=
i.e. there is an empty parameter "keywords" in the link which should not be there.
This was not acceptable for me. Solving that problem turned out not to be too easy because I wanted to keep the "keywords" parameter if it had been in the query string in the first place.
See my post below for additional misbehavior of CGI.pm and for how I solved the problem.