in reply to Re: IO::Socket::INET what to use to read/write from socket?
in thread IO::Socket::INET what to use to read/write from socket?

Well, I've used <$socket> calls for 'semi-binary' protocols: i've had to interface with a server that sends messages wrapped in \02 .. \03 characters, so I just set $/ to "\03" and read complete messages using <$socket>

This still only works when you can use blocking calls (i.e. request/response protocols) though.

-- Joost downtime n. The period during which a system is error-free and immune from user input.