<$socket> will never return until it sees a newline (well $/, which defaults to "\n" on all platforms) or end-of-file. This is why you should avoid using <$socket>.
There are several alternatives, most likely read or sysread would be a better choice.
- tyeIn reply to Re: Question from socket newbie ($/ | eof)
by tye
in thread Question from socket newbie
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |