Then replace the binmode with _binmode and everything should happen automagically. The prototype will even cause these calls to be optimized away complete on Perls that don't need them.BEGIN { eval "require 5.008; use open OUT => ':raw:perlio'; sub _binmode() + {}"; eval "sub _binmode { binmode @_ }" if $@; }
Makeshifts last the longest.
In reply to Re: Perl 5.8, sockets and binmode()
by Aristotle
in thread Perl 5.8, sockets and binmode()
by Jenda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |