remove .exe from the shebang line. should be #!/usr/bin/perl
Windows does not use this line
You must setup perl in IIS. If you are using Active State
It tells you how to do this in the docs ActivePerl FAQ subheading Windows 
Specific
The line you need to add is .pl C:\perl %s %s
.pl is the extension of your CGI scripts this could also be .cgi
You need to add one line for every extension
C:\perl is the path to perl.exe where ever you have that installed
Good Luck
Perl is very deep and wide
On Sunday 05 January 2003 06:09 am, Phill wrote:
> Hi there
>
> I am having trouble getting  my first Perl(CGI)scripts
>  to work, Im very new to Perl and CGI.  When I run
>  the following code in a browser it shows the code and
>  not just "Hello world!" as it should. Im running WinXP
>  and I am using VQServer. I dont believe it is a problem
>  with finding the interpreter because the exact same thing
>  happens when I go to my other partition on my HD and
>  try to run it on Linux 8.0.
>
>
> #!/perl/bin/perl.exe
>  print "Content-type:text/html\n\n";
>
> print <<EndOfHTML;
>  <html><head><title>Test Page</title></head>
>  <body>
>  <h2>Hello, world!</h2>
>  </body></html>
>
> EndOfHTML
>
>   Any help is appreciated
>             Phill.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to