in reply to Re^2: Downloading Gmail attachments - Corrupted saved file
in thread Downloading Gmail attachments - Corrupted saved file

The concatenation dot should've been a comma:

open (FILE, ">:raw:perlio" . $att->{filename}); ^

To specify PerlIO layers, you need the 3-argument form of open. Otherwise, the name of the file you try to create will literally start with ":raw:perlio"...

Replies are listed 'Best First'.
Re^4: Downloading Gmail attachments - Corrupted saved file
by casimo (Sexton) on Dec 31, 2009 at 00:22 UTC
    almut, changing that dot to a comma did the trick.

    I thank you both.