in reply to Yet Another Premature End of Script Headers Question
Have you gone through the steps in my Troubleshooting Perl CGI scripts?