IO::Capture::Tie_STDx;
use IO::Capture::Tie_STDx; tie *STDOUT, "IO::Capture::Tie_STDx";
@$messages = <STDOUT>;
untie *STDOUT;
The module IO::Capture::Tie_STDx
is a small utility module for use by
IO::Capture
derived modules. See the IO::Capture::Overview manpage It is used to tie STDOUT or STDERR.