NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Premature end of script headers (Score:1)
That's the most basic of all Apache errors, so I wouldn't expect that it would be. :) All it means is that the script didn't begin its output with a Content-type header.
Which brings me to my point: it might return HTML on the command-line, but does it begin with a header ("Content-type: text/html" almost certainly) and a blank space before beginning the HTML?
Of course, differences in the environment between your account and the web serve