in reply to Re: Re: Perl 5.8, sockets and binmode()
in thread Perl 5.8, sockets and binmode()

Ah, but you can retrofit that.
use constant PRE_5_8 => $[ < 5.008; binmode $fh if PRE_5_8;
You can also use the constant for the BEGIN block if you are so inclined, of course (provided you define it before the block).

Makeshifts last the longest.