in reply to What does this mean? $|=1;

It's enabling autoflushing of the buffers for the currently selected filehandle. See. perlvar for more info.
HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: What does this mean? $|=1;
by Anonymous Monk on Mar 01, 2004 at 19:52 UTC
    Can I interpret that as meaning it automatically clears the buffer on the OS?
      Every write will result in immediate output, rather than getting queued up for speed/efficiency essentially. Read the link below. It's good.

      If you have experience with other programming languages, STDOUT is typically buffered, STDERR is not. Thus you sometime see strange ordering if mixing the two. Autoflush fixes that -- among other things.