in reply to retrieving JPG file with LWP and WWW:Mechanize

If you are using Win32, to save a binary file, you need

binmode F;
right after open. See binmode.

Replies are listed 'Best First'.
Re^2: retrieving JPG file with LWP and WWW:Mechanize
by bfdi533 (Friar) on Dec 26, 2006 at 17:43 UTC
    Yes, of course. I will read more on binmode again to keep it fresh in my mind.

    Thanks.