You ask Perl to read a line and you're complaining that it doesn't return before a line is received.
Perhaps you should change the definition of a line by modifying $/ to "\r".
Or maybe you want to use sysread instead of <> since sysread returns data as it arrives, even if fewer than the amount requested arrive.
In reply to Re: Buffering issue with \r (backslash r)?
by ikegami
in thread Buffering issue with \r (backslash r)?
by mebbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |