in reply to Buffering issue with \r (backslash r)?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Buffering issue with \r (backslash r)?
by mebbert (Initiate) on Oct 27, 2009 at 13:51 UTC | |
by ikegami (Patriarch) on Oct 27, 2009 at 14:38 UTC | |
by mebbert (Initiate) on Oct 27, 2009 at 15:56 UTC | |
by ikegami (Patriarch) on Oct 27, 2009 at 17:01 UTC |