in reply to Disabling Buffering

Neither STDERR nor STDOUT will be buffered (they'll be "hot") after these lines:

select(STDERR); $|=1; # Autoflush STDERR. select(STDOUT); # This doesn't undo STDERR's autoflushing. $|=1; # Autoflush STDOUT. # STDOUT will be the default print handle # because it was the last select()ed handle.

Replies are listed 'Best First'.
Re^2: Disabling Buffering
by diotalevi (Canon) on Nov 30, 2004 at 04:28 UTC
    BTW, STDERR is hot by default. No code is required to turn that on.