Test2:...::Term(3pm)
β¨ NAME β¨
okay bestie, this is Test2::Harness::Util::Term (a.k.a. the manual page Test2:...::Term(3pm), iykyk) β it's the whole terminal utilities situation for Test2::Harness. π
π¦ DESCRIPTION π¦
So basically this module is the one that goes π at the terminal your harness is running inside and comes back with the tea. That's it, that's the whole job. It gives you the lowdown on the terminal the harness is living in. πΈ
π SYNOPSIS π
here's the vibe, copy-paste coded exactly like this and you're golden:
use Test2::Harness::Util::Term qw/USE_ANSI_COLOR/;
if (USE_ANSI_COLOR) {
...
}
else {
...
}
π EXPORTS π
$bool = USE_ANSI_COLOR()β this one hands you back a$bool, and it's true whenTerm::ANSIColoris actually available and usable. that's the whole check. no cap. β¨
π₯ SOURCE π₯
if you wanna go peek at the code (and honestly, icon behavior), the source code repository for Test2-Harness is right here:
http://github.com/Test-More/Test2-Harness/
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
π COPYRIGHT π
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/
and that's the whole page bestie, we ate π β this was Test2:...::Term(3pm) from perl v5.40.1, dated 2026-05-10, delivered to you with all the love ππ«Ά
π¦ where this page comes from
- ubuntu stonking: libtest2-harness-perl 1.000172-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms