I guess I could redefine the binmode(). I can't use the sub binmode () {} though ... keep in mind that the procedure gets some parameters. So it can't be optimized away. It's a shame the $] is not treated as a constant. If it was then the binmode(...) unless $] < 5.008 could be optimized away. Not that it matters.
But the use open ... within the eval "" doesn't work. The use open pragma seems to be lexical if used this way. That's why am I using the require() and 'open'->import().
Jenda
In reply to Re: Re: Perl 5.8, sockets and binmode()
by Jenda
in thread Perl 5.8, sockets and binmode()
by Jenda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |