in reply to Re: Flush all opened STDIO streamsin thread Flush all opened STDIO streams
Take a look at perlapio.
Why?