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

Um, what's the error?

Image::Size, although I've never personally used it, looks like it would be the most logical choice to me. Give us your error and perhaps we can help you further.

meh.
  • Comment on Re: Using LWP and Image::Size to measure an image...

Replies are listed 'Best First'.
Re^2: Using LWP and Image::Size to measure an image...
by chinamox (Scribe) on Dec 19, 2006 at 08:14 UTC

    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
      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.