Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Call perl script from within another perl scriptby huklberry (Novice) |
on Sep 12, 2008 at 01:34 UTC ( [id://710774]=perlquestion: print w/replies, xml ) | Need Help?? |
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"); -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?
Back to
Seekers of Perl Wisdom
|
|