in reply to
What causes 'premature end of script headers'?
I faced this problem because of DOS end of line characters in the file. Fixed with dos2unix
Comment on
Re: What causes 'premature end of script headers'?
In Section
Seekers of Perl Wisdom