in reply to Question from socket newbie
<$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.
- tye
|
|---|