First run the program in the DOS window yourself and check that the output
is what you would expect i.e. NOT a list of compilation errors.
I work in a similar setup to yours and we run perl via PWS - I've been
caught out by the above on a few occaisions!
I place the script in the CGI-BIN ditrectory of PWS. and access the script
with a full path in the browser: http://machine/cgi-bin/somescript.pl
I also use the CGI module in my programs
use CGI qw(:all escape unescape);
to print headers to the browser etc. Maybe this is of some help
Bill
======================
Message text written by "Tom"
>I'm using PWS and ActivePerl to test perl scripts before uploading them to
the web.
I've Got perl working, and have modified the registry. I'm now trying to
run a perl script from a web browser(IE5). The problem I have is that when
I open a file such as test.pl from within the browser, a ms-dos window
opens, runs the program, quickly outputs the text and the window closes.
What am I doing wrong, and how do I get the output displayed as a web
page?
I'm really banging my head against the wall on this one, and would really
appreciate any help...
Regards
Tom Pinder
---
You are currently subscribed to perl-win32-users as:
[EMAIL PROTECTED]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]
----------------------- Internet Header --------------------------------
Sender: [EMAIL PROTECTED]
Received: from listserv.activestate.com (listserv.activestate.com
[199.60.48.6])
by sphmgaac.compuserve.com (8.9.3/8.9.3/SUN-1.9) with SMTP id
JAA01843
for <[EMAIL PROTECTED]>; Thu, 27 Apr 2000 09:39:04 -0400
(EDT)
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 27 Apr 2000 6:36:10
Subject: Problems running Perl Scripts
To: "Perl-Win32-Users Mailing List"
<[EMAIL PROTECTED]>
From: "Tom" <[EMAIL PROTECTED]>
List-Unsubscribe:
<mailto:[EMAIL PROTECTED]>
List-Software: Lyris Server version 3.0
List-Subscribe: <mailto:[EMAIL PROTECTED]>
List-Owner: <mailto:[EMAIL PROTECTED]>
X-List-Host: ActiveState <http://www.ActiveState.com>
Reply-To: "Tom" <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
X-Lyris-Message-Id:
<LYR145489-56185-2000.04.27-06.36.13--billstennett#[EMAIL PROTECTED]
iveState.com>
Precedence: bulk
X-listname: perl-win32-users
X-ListMember: [EMAIL PROTECTED]
<
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]