Email::Store::Attachment - my losing battle
Chisel Wright
chisel at herlpacker.co.uk
Wed Nov 29 13:58:45 GMT 2006
On Wed, Nov 29, 2006 at 01:42:04PM +0000, Christopher Jones wrote:
> Should you be using binmode?
Probably:
binmode STDIN;
my $text = read_file( \*STDIN );
makes no difference, neither does:
my $io = new IO::Handle;
$io->fdopen(fileno(STDIN),"r")
or die $!;
binmode $io;
my $text = read_file( $io );
I'm sure I'm missing something really obvious and dumb though ...
--
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/
AFK, tornado...
More information about the london.pm
mailing list