It is currently Thu Jun 20, 2013 10:24 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: IIS Experts - Need help with installing Perl PLEASE
PostPosted: Fri Mar 09, 2012 7:57 pm 
Offline
User
User
User avatar

Joined: Thu Feb 21, 2008 4:38 pm
Posts: 50
Location: Palm Harbor, FL
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/245225
http://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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye