Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Passing URL parameters to a CGI script from the shellby Bilbo (Pilgrim) |
on Apr 01, 2003 at 19:05 UTC ( [id://247314]=perlquestion: print w/replies, xml ) | Need Help?? |
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?
Back to
Seekers of Perl Wisdom
|
|