in reply to Debugging perl cgi in apache
You have printed CGI::header() ('Content-type: text/html') first, right?
:-)
Russ