Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Problems? Is your data what you think it is?

Comment on

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

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (6)
    As of 2014-03-16 16:13 GMT
    Find Nodes?
      Voting Booth?

      Have you used a cryptocurrency?

      Results (330 votes), past polls