It's an idiomatic way of turning off output buffering, as controlled by the $| variable. See. perlvar and Perl Idioms Explained - $|++ for more info.


update: s/on/off/, thanks to halley for spotting that

In reply to Re: What the heck does $|++; do? by broquaint
in thread What the heck does $|++; do? by Anonymous Monk

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":