in reply to Debugging perl cgi in apache

I almost hate to mention something so obvious (but it bites me from time-to-time, and seems to be the most common error by less-experienced CGI'ers...)

You have printed CGI::header() ('Content-type: text/html') first, right?

:-)

Russ