in reply to Re: Using LWP and Image::Size to measure an image...
in thread Using LWP and Image::Size to measure an image...

Sorry, Apache's error log says I am getting: 'Premature end of script headers: /home/dirctory/subdirector/web/my.cgi'

Could someone please translate "premature end of script headers for me?"

Thanks,

-mox
  • Comment on Re^2: Using LWP and Image::Size to measure an image...

Replies are listed 'Best First'.
Re^3: Using LWP and Image::Size to measure an image...
by SFLEX (Chaplain) on Dec 19, 2006 at 11:39 UTC
    Apache Checks the header of the file on the server to see if its close to the mime format.
    So your error could be because your printing something befor the header " print "$url is ${width}x${height}\n"; ".
    It can Aslo be a Perl Error That the code is malformed or has some problems.