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
In reply to Re: Passing a query string from a command line (Win32)
by davido
in thread Passing a query string from a command line (Win32)
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |