Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Understanding how to fork properly.by dvergin (Monsignor) |
on Jan 31, 2002 at 04:07 UTC ( [id://142360]=note: print w/replies, xml ) | Need Help?? |
if some bonehead set it to -1 previously,
the increment op wouldn't be doing the wrong thing.
Oops! No. $| is magic. It always equals either zero or one. Nothing else. Behold: As you can see, $|++ always sets $| to one (no matter what it was) and $|-- always toggles it.
------------------------------------------------------------
In Section
Seekers of Perl Wisdom
|
|