in reply to Calling cgi from the command line

perl scriptname.pl param1="foo" param2="bar"
Well, it works on Linux anyway. 'perldoc CGI' explains it.

HTH