Re: ERROR: malformed header

[email protected] (Rene Schickbauer) Wed, 02 Dec 2009 12:08:52 +0100
Newsgroups perl.beginners.cgi,perl.beginners
Message-ID <[email protected]>
Raheel Hassan wrote:
> HI,
> 
> I have an error in opening one of my perl script, could any one tell me
> where i look for resolving this problem. This error i looked in the apache
> error logs. Thanks in advance.
> 
> * "malformed header from script. Bad header=\tPUBLIC "-//W3C//DTD XHTML 1.0:
> dashboard.pl, referer: http://localhost/index.pl*"

Hard to say exactly without the actual code. Looks like you're printing 
something in the wrong order (maybe a warning).

Can you give us the relevant code snippet?

LG
Rene