mod_perl running code but output displays HTML code not HTML !!!!

[prev] [thread] [next] [Date index for 2005/02/24]

From: Phil's Yahoo
Subject: mod_perl running code but output displays HTML code not HTML !!!!
Date: 02:00 on 24 Feb 2005
hey
when i run a script that i have made that the output should be in HTML 
so that it is a webpage, mod_perl
runs because i can see the output but this is then not wrote as HTML 
rather as plain text.
i have sent the Content-Type: text/html and this is show aswell as the 
compleate HTML code.
eg.
my script shows links but instead of showing a HTML link it shows <a 
href="somewhere.pl">this link</a>
and not the link.
this first few lines of the output screen i have shown...............
START OF OUPUT
HTTP/1.1 200 OK
Date: Thu, 24 Feb 2005 01:33:47 GMT
Content-type: text/html
<html>
<head>
END OF OUTPUT
any help would be of help
i have found "PerlSendHeaders On" in my apache conf file is this 
anything to do with it???
anyhelp would be very usefull
Phil

mod_perl running code but output displays HTML code not HTML !!!!
Phil's Yahoo 02:00 on 24 Feb 2005

Generated at 14:00 on 25 Feb 2005 by mariachi v0.52