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

Try setting the QUERY_STRING environment variable. Just load it up with all of the values, and run your CGI script via command line.
For example:
$ENV{QUERY_STRING} = "iid=26&rid=2&ptype=t";

...where iid, rid, and ptype are all normally passed via URL as you outlined in your question.

Replies are listed 'Best First'.
Re: Re: Passing URL parameters to a CGI script from the shell
by Bilbo (Pilgrim) on Apr 02, 2003 at 08:34 UTC

    Thanks. That did the trick.