http://www.perlmonks.org?node_id=710774

huklberry has asked for the wisdom of the Perl Monks concerning the following question:

I've got a perl script that gets executed from an html form. Within that perl script I want to call another perl script.

I've tried the following with no success.

system("perl /cgi-bin/test1.pl");
`perl /cgi-bin/test1.pl`;

-rwxr-xr-x 1 root root 191 2008-09-11 21:14 test1.pl

The script I am trying to call (test1.pl) simply opens a log file and adds a line. I'm just trying to see if the test1.pl script gets run and thus far it doesn't seem to be since the log file doesn't change.

Any suggestions on what I might be doing wrong?