in reply to Re: premature end of script headers?
in thread premature end of script headers?

I agree that the change you suggested is recommended, but that shouldn't cause the problem he is experiencing as the warning is printed to STDERR and doesn't interfere with the header.

I tested the script locally with apache 1.3.34 without any problems.

Replies are listed 'Best First'.
Re^3: premature end of script headers?
by Fletch (Bishop) on Feb 22, 2007 at 18:11 UTC

    Hrmm, quite correct that won't cause a 500.

    At any rate, the real next step should be to look at the error log and see what exactly the real error is that's causing the code to die and work from there.

    (And then fix things with use LWP::Simple qw( get ), of course :)