Perl Monk, Perl Meditation | |
PerlMonks |
RE: RE: RE: Re: Order of output when switching filehandlesby Cirollo (Friar) |
on Aug 14, 2000 at 23:12 UTC ( [id://27807]=note: print w/replies, xml ) | Need Help?? |
As I understand it, when $| = 0, then buffering is enabled, and I think how it works depends on whether you are outputting to a terminal. $| = 1 doesn't completely disable buffering but turns on 'command buffering', so each time you do a 'print' or whatever, everything from that command is printed asap.
In Section
Seekers of Perl Wisdom
|
|