Change the open to:
open my $fh, ">:raw", $name or die "$0: open $name: $!";
Or use binmode on it before writing the data to the file.
In reply to Re: decode_base64 MIME PDF Failing
by BrowserUk
in thread decode_base64 MIME PDF Failing
by kiteskitesyay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |