in reply to Re: flushing by default
in thread flushing by default

Setting $| to a non zero value will force a fflush()
to be called on the currently selected output channel.

Use setbuf to remove the buffer on a single file descriptor.