in reply to Buffered IO and un-intended slurping
Also, you said that you've converted code into using sysread, but I can't think about how sysread($f, $buf, 41) would slurp anything beyond the 41th byte. I'd however use buffered I/O here, but the same question goes to read($f, $buf, 41) as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Buffered IO and un-intended slurping
by Wiggins (Hermit) on Jan 02, 2010 at 14:31 UTC | |
by dk (Chaplain) on Jan 03, 2010 at 10:56 UTC |