|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Line by line buffered readby rowdog (Curate) |
| on Aug 22, 2010 at 20:56 UTC ( [id://856609]=note: print w/replies, xml ) | Need Help?? |
|
As Ikegami pointed out, sysread is unbuffered io and I see no reason to use it here. It's much easier to use the buffered io functions and here's a simple revision of your example code that does just that.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||