How to call perl programs from ASP page
From: Perldiscuss - Perl Newsgroups And Mailing Lists (pete.mitchell_at_rogers.com)
Date: 01/25/04
- Next message: Jan Eden: "Re: How to put a variable value into a text file"
- Previous message: Stuart Clemons: "How to put a variable value into a text file"
- Next in thread: Charles K. Clarkson: "RE: How to call perl programs from ASP page"
- Reply: Charles K. Clarkson: "RE: How to call perl programs from ASP page"
- Maybe reply: Luke Bakken: "RE: How to call perl programs from ASP page"
- Maybe reply: Luke Bakken: "RE: How to call perl programs from ASP page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Jan 2004 16:34:53 -0000 To: beginners@perl.org
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 ?????
- Next message: Jan Eden: "Re: How to put a variable value into a text file"
- Previous message: Stuart Clemons: "How to put a variable value into a text file"
- Next in thread: Charles K. Clarkson: "RE: How to call perl programs from ASP page"
- Reply: Charles K. Clarkson: "RE: How to call perl programs from ASP page"
- Maybe reply: Luke Bakken: "RE: How to call perl programs from ASP page"
- Maybe reply: Luke Bakken: "RE: How to call perl programs from ASP page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|