Capture STDOUT and STDERR from Perl, XS or external programs

Edit Package perl-Capture-Tiny
http://search.cpan.org/dist/Capture-Tiny/

Capture::Tiny provides a simple, portable way to capture anything sent to
STDOUT or STDERR, regardless of whether it comes from Perl, from XS code or
from an external program. Optionally, output can be teed so that it is
captured while being passed through to the original handles. Yes, it even
works on Windows. Stop guessing which of a dozen capturing modules to use
in any particular situation and just use this one.

This module was heavily inspired by the IO::CaptureOutput manpage, which
provides similar functionality without the ability to tee output and with
more complicated code and API.

Refresh
Refresh
Source Files
Filename Size Changed
Capture-Tiny-0.22.tar.gz 0000031390 30.7 KB
perl-Capture-Tiny.changes 0000005238 5.12 KB
perl-Capture-Tiny.spec 0000002305 2.25 KB
Revision 13 (latest revision is 26)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 177480 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 13)
- updated to 0.22
 
   Documented:
 
   - Issue tracker is now github
 
   Changed:
 
   - Skips tee and leak tests for closed STDIN on Perl prior to
     5.12 when PERL_UNICODE=D.  Documented lack of support as
     a known issue.
 
   - Isolated tee subprocesses from effects of PERL_UNICODE as a
     precaution (though this did not fix the above issue).
 
   - Improved layer detection for handles proxied due to being closed
     or tied.
 
   Fixed:
 
   - Nested merged captures that include an external program call no longer
     leak STDERR to the outer scope [rt.cpan.org #79376]
 
   - Work around rt.perl.org #114404 by forcing PerlIO layers back on
     original handles [rt.cpan.org #78819]
Comments 0
openSUSE Build Service is sponsored by