in reply to Testing out a CGI script using the command line
name=value name=value Ctrl+D
You can export parameters from file:
$ perl -d your_script.cgi < file_with_parameters
Lucky