in reply to Re: problems redirecting STDOUT and STDERR to a $variablein thread problems redirecting STDOUT and STDERR to a $variable
use IO::Handle qw( ); STDOUT->autoflush(1); STDERR->autoflush(1); [download]