Do you know where your variables are? | |
PerlMonks |
Re: Downloading Gmail attachments - Corrupted saved fileby localshop (Monk) |
on May 13, 2013 at 23:15 UTC ( [id://1033376]=note: print w/replies, xml ) | Need Help?? |
A couple of points.
If you are running on Windoze you may want to write the files in binary mode (see binmode). Also it looks to me as though you are trying to append the files instead of writing to them.
Here's my code that works ok:
In Section
Seekers of Perl Wisdom
|
|