On Thu, 15 Aug 2002, Warren Jones wrote:

>     Sockets default to :crlf mode with perl 5.8.0.  This is a change
>     from the default behavior with 5.6.  What's more, "binmode( $socket )"
>     seems to have no effect.  The only way I've been able to get a raw
>     mode socket is to "set PERLIO=:raw" before the program starts.
>     I'm not the first to discover the problem, which is discussed here:

>         http://aspn.activestate.com/ASPN/Mail/Message/1292668

Nick Ing-Simmons wrote in reply in
http://aspn.activestate.com/ASPN/Mail/Message/1292758:

> I was not aware that 5.6.1 special cased sockets.  The right
> way to make things binary is (as it always has been since
> perl4):

>   binmode($socket);

I don't understand the situation well enough to know if he is
apologizing or disagreeing :-)

-- 
Greg Matheson                Practitioners just do it.
Chinmin College              Reflective Practitioners just think they
                             did it.
Taiwan Penpals Archive <URL: http://netcity.hinet.net/kurage>

Reply via email to