in reply to decode_base64 MIME PDF Failing
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: decode_base64 MIME PDF Failing
by kiteskitesyay (Initiate) on Jun 27, 2011 at 03:23 UTC | |
by Anonymous Monk on Jan 25, 2013 at 22:22 UTC |