in reply to Perl Parameter

That really depends on how your program parses its arguments. My guess is that putting them in the QUERY_STRING environment variable may work.

However, may I suggest that an easier solution over the long term is to remove the specific processing from the program into its own module, then use that module from a command-line program as well as a separate CGI program?