in reply to Re: Flush all opened STDIO streams
in thread Flush all opened STDIO streams

Take a look at perlapio.

Why?