Perhaps you have a good reason for this, but wouldn't it be simpler to "require" the perl script and then call a function in it with the parameter, rather than passing it to the shell and back?
dave
Comment on Re: Running an external script from a Perl CGI script