Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Re: Re: cgi buffer flushby dvergin (Monsignor) |
on Mar 09, 2002 at 20:49 UTC ( [id://150609]=note: print w/replies, xml ) | Need Help?? |
If for some reason $| = -1,...
No. Please don't make assertions like that when you haven't tested them. $| 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. I agree that $| = 1; is more clear to newer programmers. But rationalle for that usage has to do with the learning curve and not with the behavior of $|.
------------------------------------------------------------
In Section
Seekers of Perl Wisdom
|
|