in reply to Re: flushing by defaultin thread flushing by default
Not necessarily on STDOUT, but on the filehandle that is currently selected.
As for the global default autoflush - I'm not aware of a way to do it. Buffering is usually the default behaviour for the reasons of efficiency.