Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get PWS on Windows 98 to recognise my Perl interpreter?

Status
Not open for further replies.

jhipkiss

Programmer
Jul 1, 2000
6
US
I'm pulling my hair out trying to get perl installed and working OK on my Windows 98 PC running PWS.<br><br>Perl is installed OK and runs from the command prompt but I can't get it to be called OK when referring to a perl script in a web page on 127.0.0.1<br><br>I've set up a .pl entry in my registry pointing to perl.exe %s %s.<br><br>I'll also want to get DBI working eventually, but first thing first.&nbsp;&nbsp;The obvious &quot;Hello World&quot; script would be a good start.<br><br>Please, somebody help me :eek:(<br><br>Jonathan Hipkiss<br>Nottingham, England
 
Greetings,<br>Who's perl interpreter are you using and what build is it?&nbsp;&nbsp;When you try to execute a .pl does it simply list the code for you instead of executing?
 
It's ActiveState's version 5.6.<br><br>My script is:<br><br>#!c:\perl\bin\perl.exe -wT<br><br>print &quot;Content-type: text/html\n\n&quot;;<br><br>print &quot;&lt;html&gt;&lt;head&gt;&quot;;<br><br>print &quot;&lt;title&gt;Hello World&lt;/title&gt;&quot;;<br><br>print &quot;&lt;/head&gt;&lt;body&gt;&quot;;<br><br>print &quot;Hello world&quot;;<br><br>print &quot;&lt;/body&gt;&lt;/html&gt;&quot;;<br><br><br>When I call it from the scripts directory in inetpub it seems to find everything OK then just sits with a blank screen and eventually times out.<br><br>Thanks<br><br>Jonathan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top