installed ActivePerl-5.14.2.1402 on Windows Server 2003 SP2 running IIS 6 and Perl seems to be just fine I can run a simple hello world script through command prompt and it outputs fine. However I cannot get it working through web browser. I followed a couple of tutorials found here
http://support.microsoft.com/kb/245225http://www.visualwin.com/Perl/http://www.howtogeek.com/50500/how-to-i ... rver-2003/but whenever I go to access a simple hello world program in my web browser I either get "The page cannot be found" error. I know the web server is working fine in that directory when I try to access an HTML page in the same spot it shows up fine.
here is the code I am trying to run in my browser by the way.
Code:
#!C:\Perl\bin\perl.exe
use CGI qw(:standard);
print header();
print start_html();
print "test";
print end_html();
I also tried
Code:
#!c:perlbinperl.exe
use strict;
use CGI;
my $test = new CGI;
print $test->header(“text/html”),$test->start_html(“Perl Test”);
print $test->h1(“Perl is working!”);
print $test->end_html;
Again, I have never worked with Perl before so I'm not sure if thats proper syntax.
Thanks for any help