<?xml version="1.0" encoding="windows-1252"?>
<node id="710774" title="Call perl script from within another perl script" created="2008-09-11 21:34:19" updated="2008-09-11 17:34:19">
<type id="115">
perlquestion</type>
<author id="469996">
huklberry</author>
<data>
<field name="doctext">
I've got a perl script that gets executed from an html form. Within that perl script I want to call another perl script.
&lt;p&gt;
I've tried the following with no success.
&lt;p&gt;
system("perl /cgi-bin/test1.pl");&lt;br&gt;
`perl /cgi-bin/test1.pl`;
&lt;p&gt;
-rwxr-xr-x 1 root root 191 2008-09-11 21:14 test1.pl
&lt;p&gt;
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.
&lt;p&gt;
Any suggestions on what I might be doing wrong?

</field>
</data>
</node>
