in reply to Re^2: tie stdout with IO::Scalar
in thread tie stdout with IO::Scalar

Thanks for the link.