1IO::Capture::Sayfix(3)User Contributed Perl DocumentationIO::Capture::Sayfix(3)
2
3
4
6 IO::Capture::Sayfix - Fix ::Tie_STDx vs say() issue
7
9 This document describes IO::Capture::Sayfix version 0.05
10
12 use IO::Capture::Stderr;
13 use IO::Capture::Sayfix;
14
16 IO::Capture::Tie_STDx does not handle feature 'say' correctly. The bug
17 has been reported to the author. Meanwhile, a fix is needed.
18
19 IO::Capture::Sayfix works around this bug:
20
21 IO::Capture::Stdout is loaded, if it's not already.
22 'say' is captured
23 if the capture doesn't include the trailing newline,
24 then the workaround is loaded.
25
26 The hope is that this will play equally well with the current version
27 and any future version that does or does not fix the 'say' bug.
28
30 Xiong Changnian "<XIONG@cpan.org>"
31
33 Copyright (c) 2010, Xiong Changnian "<XIONG@cpan.org>". All rights
34 reserved.
35
36 This module is free software; you can redistribute it and/or modify it
37 under the same terms as Perl itself.
38
40 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
41 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
42 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
43 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
44 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
45 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
46 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
47 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
48 NECESSARY SERVICING, REPAIR, OR CORRECTION.
49
50 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
51 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
52 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
53 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
54 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
55 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
56 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
57 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
58 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
59 DAMAGES.
60
61
62
63perl v5.28.0 2018-07-14 IO::Capture::Sayfix(3)