in reply to Problem Encoding/Decoding PDF with MIME::Base64
Practically everytime I've seen someone release a module with a slurp function it has always lacked binmode (at first), and IO::All is no different.
Know thy tools
update: granted you could use open IN => ":raw", OUT => ":raw"; to set default disciplines for input and output, but a good slurp function should binmode.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: binmode binmoding binmode again
by DamnDirtyApe (Curate) on Apr 28, 2004 at 21:35 UTC |
In Section
Seekers of Perl Wisdom