The IO::Capture Module defines an abstract base class that can be used to create any number of useful sub-classes that capture output being sent on a filehandle such as STDOUT or STDERR.
Description
IO::Capture - An abstract base class useful to capture output from STDOUT or STDERR