I'm still having install issues.  I can't get my first Active Perl Script to work 
under PWS.
I have done an install by the book.
I have associated .pl to e:\perl\bin\perl.exe in windows explorer.
I have Associated the .pl extension in the Registry key HKEY_LOCAL_SYSTEM, with the 
sub-key ``System\CurrentControlSet\Services\W3SVC\Parameters\Script Map''. Many people 
map two extensions: one to perl.exe (for example, .pl) and another to PerlIS.dll (for 
example, .plx).        ie .pl maps to E:\perl\bin\per.exe %s %s

This is what happens when I execute a simple script pointing to a .PL file:
A DOS window opens very quickly, spits out some message too quick to read, then it is 
gone.
I am left on my original Html Screen.

This is my simple code:
=============================== Start.html
<HTML><head><titile>My first CGI(PERL)!</title></head>

<!--- This is my first GGI -------------------------------->
<body><p><p>

<A href="Start.pl">Execute CGI</a><br>

</body></HTML>
=============================== Start.pl
use strict;
use CGI qw(:standard);

print header;
print start_html('Hello!');
print "<H1>Hello, ", param('name'), "!</H1>\n";
print end_html;
===============================

I can run this script in a DOS Window, however I have to set the PATH environment 
variable and make the script directory my current directory to make this run.

So, what's the trick to running this on PWS?

Thanks guys,

Don Dunn


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to