in reply to Non-Blocking INET getline
Reading with <> will block, because the string it returns is guaranteed to be terminated with a newline, (or the last non-terminated string before the end of communication).
I agree that you should use sysread when reading from sockets.
|
---|
In Section
Seekers of Perl Wisdom