print "Content-type: text/plain\n\n";
print "hello world\n";

the header needs an another blank line after it.

-----Original Message-----
From: Asaf Elron [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 03, 2001 11:05 AM
To: James T Fielding
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie question


The script should be:
print "Content-type: text/plain\n";
print "hello world\n";
try www.cgi101.com for more details.

----- Original Message -----
From: "James T Fielding" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 13:15
Subject: Newbie question


> I have installed Activeperl and done everything I thought I needed to get
my
> Windows 2000 workstation to process perl pages. (I am using IIS 5). But
when
> I run the simple perl file - print "hello world\n"; - through the browser
I
> get:
>
> CGI Error
> The specified CGI application misbehaved by not returning a complete set
of
> HTTP headers. The headers it did return are:
>
> hello world
>
> Any idea what's wrong?
>
> Many thanks
>
> James
>

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to