in reply to $| pre and post increment and deincrement behavior

Look for the word "magic" in Perl Idioms Explained - $|++ and look at diotalevi's reply to it as well. In short, ++$| is always true, and --$| always flips the value of $|. My use of it had nothing to do with flushing; only with the magically boolean nature of the variable.

Caution: Contents may have been coded under pressure.
  • Comment on Re: $| pre and post increment and deincrement behavior