Codebase list libcapture-tiny-perl / c5e3c53
Imported Upstream version 0.36 Salvatore Bonaccorso 8 years ago
8 changed file(s) with 22 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Capture-Tiny
1
2 0.36 2016-02-28 21:36:57-05:00 America/New_York
3
4 [Docs]
5
6 - Fixed typos.
17
28 0.34 2016-02-18 23:26:13-05:00 America/New_York
39
8282 "provides" : {
8383 "Capture::Tiny" : {
8484 "file" : "lib/Capture/Tiny.pm",
85 "version" : "0.34"
85 "version" : "0.36"
8686 }
8787 },
8888 "release_status" : "stable",
9797 "web" : "https://github.com/dagolden/Capture-Tiny"
9898 }
9999 },
100 "version" : "0.34",
100 "version" : "0.36",
101101 "x_authority" : "cpan:DAGOLDEN",
102102 "x_contributors" : [
103103 "Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>",
2727 provides:
2828 Capture::Tiny:
2929 file: lib/Capture/Tiny.pm
30 version: '0.34'
30 version: '0.36'
3131 requires:
3232 Carp: '0'
3333 Exporter: '0'
4242 bugtracker: https://github.com/dagolden/Capture-Tiny/issues
4343 homepage: https://github.com/dagolden/Capture-Tiny
4444 repository: https://github.com/dagolden/Capture-Tiny.git
45 version: '0.34'
45 version: '0.36'
4646 x_authority: cpan:DAGOLDEN
4747 x_contributors:
4848 - 'Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>'
3232 "Test::More" => "0.62",
3333 "lib" => 0
3434 },
35 "VERSION" => "0.34",
35 "VERSION" => "0.36",
3636 "test" => {
3737 "TESTS" => "t/*.t"
3838 }
22 programs
33
44 VERSION
5 version 0.34
5 version 0.36
66
77 SYNOPSIS
88 use Capture::Tiny ':all';
172172 platform.
173173
174174 PerlIO layers
175 Capture::Tiny does it's best to preserve PerlIO layers such as ':utf8'
176 or ':crlf' when capturing (only for Perl 5.8.1+) . Layers should be
177 applied to STDOUT or STDERR *before* the call to "capture" or "tee".
178 This may not work for tied filehandles (see below).
175 Capture::Tiny does its best to preserve PerlIO layers such as ':utf8' or
176 ':crlf' when capturing (only for Perl 5.8.1+) . Layers should be applied
177 to STDOUT or STDERR *before* the call to "capture" or "tee". This may
178 not work for tied filehandles (see below).
179179
180180 Modifying filehandles before capturing
181181 Generally speaking, you should do little or no manipulation of the
275275 proceed.
276276
277277 SEE ALSO
278 This module was, inspired by IO::CaptureOutput, which provides similar
278 This module was inspired by IO::CaptureOutput, which provides similar
279279 functionality without the ability to tee output and with more
280280 complicated code and API. IO::CaptureOutput does not handle layers or
281281 most of the unusual cases described in the "Limitations" section and I
55
66 - Test utf8 output
77 - Test with curses
8 - Add tee_stdout and tee_stderr functions (?)
22 use warnings;
33 package Capture::Tiny;
44 # ABSTRACT: Capture STDOUT and STDERR from Perl, XS or external programs
5 our $VERSION = '0.34';
5 our $VERSION = '0.36';
66 use Carp ();
77 use Exporter ();
88 use IO::Handle ();
435435
436436 =head1 VERSION
437437
438 version 0.34
438 version 0.36
439439
440440 =head1 SYNOPSIS
441441
618618
619619 =head2 PerlIO layers
620620
621 Capture::Tiny does it's best to preserve PerlIO layers such as ':utf8' or
621 Capture::Tiny does its best to preserve PerlIO layers such as ':utf8' or
622622 ':crlf' when capturing (only for Perl 5.8.1+) . Layers should be applied to
623623 STDOUT or STDERR I<before> the call to C<capture> or C<tee>. This may not work
624624 for tied filehandles (see below).
728728
729729 =head1 SEE ALSO
730730
731 This module was, inspired by L<IO::CaptureOutput>, which provides
731 This module was inspired by L<IO::CaptureOutput>, which provides
732732 similar functionality without the ability to tee output and with more
733733 complicated code and API. L<IO::CaptureOutput> does not handle layers
734734 or most of the unusual cases described in the L</Limitations> section and
22 use strict;
33 use warnings;
44
5 # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021
5 # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.024
66
77 use Test::More tests => 1;
88