Bilbo has asked for the wisdom of the Perl Monks concerning the following question:
I feel that I must be missing something obvious here. I am trying to test a CGI script (using the CGI module) by running it from the shell. I can pass parameters to be recovered using the param method by specifying them on the command line, as shown in the CGI documentation. How do I pass parameters to be retrieved using the url-param method? In other words, how do I make my script think that it has been invoked by CGI with a URL like http://myhost.org.uk/forum.cgi?mode=1?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing URL parameters to a CGI script from the shell
by cbro (Pilgrim) on Apr 01, 2003 at 19:27 UTC | |
by Bilbo (Pilgrim) on Apr 02, 2003 at 08:34 UTC | |
|
Re: Passing URL parameters to a CGI script from the shell
by jasonk (Parson) on Apr 01, 2003 at 19:36 UTC | |
|
Re: Passing URL parameters to a CGI script from the shell
by The Mad Hatter (Priest) on Apr 01, 2003 at 19:59 UTC | |
|
Re: Passing URL parameters to a CGI script from the shell
by Anonymous Monk on Jan 16, 2015 at 07:24 UTC |