And, as has been pointed out many a time, $| affects the currently selected file handle. The turn off buffering on something else, you have to temporarily select, e.g., like so:
select((select(SOMETHING_ELSE), $| = 1)[0]);
--bwana147
In reply to Re: Re: delayed print statement?
by bwana147
in thread delayed print statement?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |