in reply to Passing a query string from a command line (Win32)
There is if you're using CGI.pm. From the POD for CGI:
DEBUGGING
If you are running the script from the command line or in the perl debugger, you can pass the script a list of keywords or parameter=value pairs on the command line or from standard input (you don't have to worry about tricking your script into reading from environment variables). You can pass keywords like this:your_script.pl keyword1 keyword2 keyword3or this:
your_script.pl keyword1+keyword2+keyword3or this:
your_script.pl name1=value1 name2=value2or this:
your_script.pl name1=value1&name2=value2
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing a query string from a command line (Win32)
by slloyd (Hermit) on Oct 29, 2005 at 13:52 UTC | |
by BrowserUk (Patriarch) on Oct 29, 2005 at 18:09 UTC | |
by wfsp (Abbot) on Oct 29, 2005 at 15:49 UTC |