Hi,
I'm new to Perl and I'm trying to excute/call a perl program from Perl
Script in an ASP page.
I've loaded ActivePerl v5.6 on my Microsoft Win2000 webserver and I can
execute lots of Perl code in my ASP pages with no problem, but I need to
call an external program and don't know the correct systax.

In my ASP page:
-----------------------------------------------------
<%@ LANGUAGE = PerlScript%>
$Response->write("Pete Was Here <br>"); #Works Fine

system("MakeFile.pl"); #Doesn't execute the script
-----------------------------------------------------

The file "MakeFile.pl" is in the same folder as the above ASP page.

"MakeFile.pl" executes successfully from the command line.
I have even tried calling "MakeFile.pl" from the command line by calling a
second program called "Test.pl" that has the line:
system("MakeFile.pl");
This successfully executes the "MakeFile.pl" program.

How do I do the same thing from an ASP page ?????


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to