1Test2::Harness::Util::TUesremr(3C)ontributed Perl DocumeTnetsatt2i:o:nHarness::Util::Term(3)
2
3
4
6 Test2::Harness::Util::Term - Terminal utilities for Test2::Harness
7
9 This module provides information about the terminal in which the
10 harness is running.
11
13 use Test2::Harness::Util::Term qw/USE_ANSI_COLOR/;
14
15 if (USE_ANSI_COLOR) {
16 ...
17 }
18 else {
19 ...
20 }
21
23 $bool = USE_ANSI_COLOR()
24 True if Term::ANSIColor is available and usable.
25
27 The source code repository for Test2-Harness can be found at
28 http://github.com/Test-More/Test2-Harness/.
29
31 Chad Granum <exodist@cpan.org>
32
34 Chad Granum <exodist@cpan.org>
35
37 Copyright 2020 Chad Granum <exodist7@gmail.com>.
38
39 This program is free software; you can redistribute it and/or modify it
40 under the same terms as Perl itself.
41
42 See http://dev.perl.org/licenses/
43
44
45
46perl v5.38.0 2023-10-04 Test2::Harness::Util::Term(3)