I'm lost. Can someone help with interpreting what these errors mean?

The perl stuff below is from the O'Reilly MySQL &Msql book. Page 138
7/99 edition.

................................
#!/usr/bin/perl -w

print <<HTML;
Content-type: text/html\n\n

<HTML><HEAD><TITLE></title></head><BODY>
<p>Environment Variables
<p>
HTML

foreach (keys %ENV) { print "$_: $ENV($_)<BR>\n"; }

print <<HTML;
</body></html>
HTML
........................................................................

When run under Apache on Suse 6.4, it produces the following output in
the /var/log/httpd/error_log

[Wed Nov 29 17:09:00 2000] [error] [client 192.168.27.10] Premature end
of script headers: /usr/local/httpd/cgi-bin/mysqlenv.pl
owl:terryc>         


I've checked the book errata, but there is no mention of an error in the
supplied perl stuff.

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services <lan/wan, linux/unix, novell>

 "People without trees are like fish without clean water"


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to