Of course the ++ just increments the special variable, which gives it a value of 1,
It doesn't just increment it - these special variables have magical behaviour, as Abigail-II points out below.

Oh, and I'd pronounce it "Scalar pipe plus plus" or "Scalar pipe increment". I might say "Dollar" instead of "Scalar" if I was talking to a Perl newbie.


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

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