in reply to Re: How to autoflush streams (i.e. open3 calls)
in thread [UPDATED] How to autoflush streams (i.e. open3 calls)

perl -MIO::Handle -e ' STDOUT->autoflush(1); print 1; sleep 1; print 2 + '

Replies are listed 'Best First'.
Re^3: How to autoflush streams (i.e. open3 calls)
by rapide (Beadle) on Jan 29, 2009 at 11:29 UTC
    But STDERR seems to be autoflushed by default:
    perl -MIO::Handle -e ' print 1; print STDERR 33; sleep 1; print 2';