in reply to Calling subroutine with exec() in .cgi script
Assuming that the cgi script being exec'd in this fashion is using the CGI module, $ARGV[0] will automatically be treated as the QUERY_STRING.my $cgiprog = '/path/to/filename.cgi'; my $cgiparams = 'action=task1&user=me'; exec( $cgiprog, $cgiparams );
|
---|