DOKK / manpages / debian 12 / libtest2-harness-perl / Test2::Harness::Util::Term.3pm.en
Test2::Harness::Util::Term(3pm) User Contributed Perl Documentation Test2::Harness::Util::Term(3pm)

Test2::Harness::Util::Term - Terminal utilities for Test2::Harness

This module provides information about the terminal in which the harness is running.

    use Test2::Harness::Util::Term qw/USE_ANSI_COLOR/;
    if (USE_ANSI_COLOR) {
        ...
    }
    else {
        ...
    }

$bool = USE_ANSI_COLOR()
True if Term::ANSIColor is available and usable.

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

Copyright 2020 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

2023-03-12 perl v5.36.0