The stupid question is the question not asked | |
PerlMonks |
Re: Trouble with Streaming text to STDOUTby charnos (Friar) |
on Oct 03, 2002 at 14:57 UTC ( [id://202540]=note: print w/replies, xml ) | Need Help?? |
Have you tried setting $| (aka $OUTPUT_AUTOFLUSH) to a nonzero value? That should probably solve your problem, if it's set to a nonzero value, Perl will flush the output buffer every time a print statement is called. See perldoc perlvar for more info.
In Section
Seekers of Perl Wisdom
|
|