in reply to faking out CGI.pm

CGI.pm supports command line arguments:
perl my-cgi.pl name=value name2=value2
For more complex simulation you can set the environment and STDIN stream according to the CGI specs.

There's probably some CPAN module too. I've never had to use more than plain params for debugging.

Replies are listed 'Best First'.
Re^2: faking out CGI.pm
by kmullin (Acolyte) on Dec 19, 2007 at 20:58 UTC

    Cool, I'll try that.