in reply to
Flushing stdout
Try one of these:
Use the $| variable, see
QandASection: input and output
.
Use the IO::Handle module.
Comment on
Re: Flushing stdout
In Section
Seekers of Perl Wisdom