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?
In reply to Passing URL parameters to a CGI script from the shell by Bilbo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |