in reply to Passing URL parameters to a CGI script from the shell

url_param is only useful when POSTing to a CGI, to differentiate between the posted values and the url values. When you use the command line debugging functionality, CGI.pm simply turns the options you give it into a query string, and simulates a GET (technically it isn't a GET, because from the command line you get no $REQUEST_METHOD, but it works similarly), the code doesn't provide this functionality from the command line.


We're not surrounded, we're in a target-rich environment!
  • Comment on Re: Passing URL parameters to a CGI script from the shell