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.
In reply to Re: buffering issue?
by moritz
in thread buffering issue?
by dannyjmh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |