in reply to Re: attachment logging
in thread attachment logging
Of course, this is just a band-aid, as binmode actually does something, nowadays even on systems with unixish file semantics. Most likely, the proper fix would be to upgrade IO::File to a later version than is installed, or to copy the code for IO::File::binmode into that subroutine:
sub binmode { ( @_ == 1 or @_ == 2 ) or croak 'usage $fh->binmode([LAYER])'; my($fh, $layer) = @_; return binmode $$fh unless $layer; return binmode $$fh, $layer; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: attachment logging
by Bass-Fighter (Beadle) on Dec 18, 2008 at 12:30 UTC | |
by oko1 (Deacon) on Dec 18, 2008 at 12:55 UTC | |
by Bass-Fighter (Beadle) on Dec 18, 2008 at 13:26 UTC |