in reply to CGI: Premature end of script headers
My guess : he's not using the correct path for perl in the shebang.