The stupid question is the question not asked | |
PerlMonks |
Re: Buffer, buffering my problemby diskcrash (Hermit) |
on Feb 02, 2004 at 23:35 UTC ( [id://326055]=note: print w/replies, xml ) | Need Help?? |
Hey there AM,
What were your intentions for terminating the I/O? You can terminate on a fixed number of chars being received, or a specific char, or char by char, or by timeout. Note also the problem of reading "cr" vs "crlf" records across *NIX and Windows, as this has bitten me before. That immediate buffer flush mentioned above has also worked well, situation depending. Praise the Camel, Diskcrash
In Section
Seekers of Perl Wisdom
|
|