in reply to Re^2: How to autoflush streams (i.e. open3 calls)in thread [UPDATED] How to autoflush streams (i.e. open3 calls)
perl -MIO::Handle -e ' print 1; print STDERR 33; sleep 1; print 2'; [download]