sh1tn has asked for the wisdom of the Perl Monks concerning the following question:
use MIME::Base64; open my $reader, "TEST.gif"; while (read($reader, $buffer, 10*57)) { $file_data .= decode_base64(encode_base64($buffer, '')) } open my $writer, ">TEST_base64.gif"; print $writer $file_data; __END__ `dir` output: 11/24/2005 03:13 AM 66,072 TEST.gif 04/16/2006 09:28 PM 66,437 TEST_base64.gif
This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 25 registered patches, see perl -V for more detail)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ActivePerl MIME::Base64 bug?
by idsfa (Vicar) on Apr 16, 2006 at 18:51 UTC | |
by sh1tn (Priest) on Apr 16, 2006 at 19:05 UTC | |
|
Re: ActivePerl MIME::Base64 bug?
by borisz (Canon) on Apr 16, 2006 at 18:52 UTC | |
by ikegami (Patriarch) on Apr 17, 2006 at 22:13 UTC |