Just another Perl shrine | |
PerlMonks |
Re: Non-Blocking INET getlineby matija (Priest) |
on Nov 22, 2005 at 13:22 UTC ( [id://510766]=note: print w/replies, xml ) | Need Help?? |
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
|
|