[Xitami] Using perl cgi on NT

Dennis G. Wicks xitami@lists.xitami.org
Mon, 4 Jun 2001 13:06:14 -0700


Greetings;

I have tried every permutation that I can think of and I can't get the
testperl.pl to work. I have ActivePerl very new release and here is the code

	#! d:\PROGRA~1\perl\bin\perl.exe
	print "Content-Type: text/html\n\n";
	print "<H1>Hello World</H1>\n";
	print "\n";

It doesn't work with or without the space before d: and it
doesn't work with or without the last print command and it
does display exactly what I think it should when I run it
as a perl script/program in NT.

When I do a view source from my browser I get

	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
	<HTML><HEAD>
	<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
	<BODY></BODY></HTML>

Notice the lack of text between the <BODY></BODY> tags!

I am sure it is something simple, but I am not seeing it.

Anybody have any ideas?

Many TIA,
Dennis