October 9th, 2000, 03:14 PM
I am a newbie to programing in PERL. I have used tons of PERL progs. But I am new to actually writing...
My question is can you call another perl/cgi script from within another seperate script. The script I am creating when arange and prepare parameters for the script I want to call. Any help is appreciated.
October 9th, 2000, 05:57 PM
If the other perl script is on the same server, simply do something like this:
$output = system("perl /full/path/to/other/script.pl");
print "Content-type: text/htmlnn";
If it's on another server somewhere, start here -> http://www.devshed.com/Talk/Forums/F...ML/000387.html
October 10th, 2000, 12:27 PM
I've not tried it, but I thought the system() method didn't return anything to a variable. I know that this would: