- Updating package for perl module Capture::Tiny from 0.05 to 0.06
upstream changes:
0.06 Thu May 7 06:54:53 EDT 2009
Fixed:
- On Win32, subprocesses now close themselves on EOF instead of being
killed with a signal
0.05_51 Tue Apr 21 07:00:38 EDT 2009
Added:
- Support for wide characters on handles opened to utf8
- Support for STDOUT, STDERR or STDIN opened to in-memory
files (open to scalar reference) or tied, albeit with some limitations
Testing:
- Verify that $? is preserved during capture { system(@cmd) };
- import package for perl module Capture::Tiny (required for
Email::Sender update)
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 IO::CaptureOutput, which provides
similar functionality without the ability to tee output and with more
complicated code and API.