Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: $| pre and post increment and deincrement behaviorby Anonymous Monk |
on Nov 30, 2005 at 21:19 UTC ( [id://513118]=note: print w/replies, xml ) | Need Help?? |
If you want $| to be 1, assign 1 to it. Pre- or post indcrement is unnecessarily "clever" and could bite you if $| doesn't happen to have the value you assume.
In Section
Seekers of Perl Wisdom
|
|