http://qs321.pair.com?node_id=280112


in reply to Perl Idioms Explained - $|++

Absolutely agree with the peeve.

I would like to see this coded like this:

use strict; use warnings; use constant {OUTPUT_AUTOFLUSH_BUFFERED =>0, OUTPUT_AUTOFLUSH_UNBUFFERED=>1}; $| = OUTPUT_AUTOFLUSH_UNBUFFERED; ...
This makes the meaning MUCH clearer.