http://www.perlmonks.org?node_id=643328

saintmike has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone explain why
$| = 0; print "first=", $|, " second=", $|--, "\n";
prints "first=1 second=0" and
$| = 1; print "first=", $|, " second=", $|--, "\n";
prints "first=0 second=1"?