in reply to Re: Premature end of script headers
in thread Premature end of script headers

If so, that's an issue with how Apache is configured; not an issue with Perl itself.