in reply to buffering issue?
At some point, after reading a file with 90855 lines, the script is not reading a line of the next file completely.
I'm still trying to understand what you actually observe. Does $_ not end in a newline (without being the last line in the file)? Have you verified that the correct data is in the file? What character encoding is the input file encoded in?
f ($buff >= 230000){$buff=0;sleep(1);select((select(FIL), $|=1)[0]);} #FLUSH THE BUFFER, NOT WORKING!!!
There's no reason to flush an input buffer.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: buffering issue?
by dannyjmh (Novice) on Mar 31, 2013 at 17:52 UTC | |
by choroba (Cardinal) on Apr 02, 2013 at 09:34 UTC |
In Section
Seekers of Perl Wisdom