Test::B...::Color(3pm)

πŸ’– NAME πŸ’–

okay bestie, welcome to the Test::B...::Color(3pm) page β€” yes, that’s Test::Builder::Tester::Color from the Perl Programmers Reference Guide. Its whole gig? Turning on colour in Test::Builder::Tester. periodt. πŸŽ€

✨ SYNOPSIS ✨

So when you’re running a test script, you literally do this:

perl -MTest::Builder::Tester::Color test.t

πŸ¦‹ DESCRIPTION πŸ¦‹

Importing this module causes the subroutine color in Test::Builder::Tester to be called with a true value, which causes colour highlighting to be turned on in debug output. That’s the whole magic trick. πŸ’…

And like, the sole purpose of this module is to enable colour highlighting from the command line. That’s it. That’s the vibe. ✨

πŸ‘‘ AUTHOR πŸ‘‘

Copyright Mark Fowler <mark@twoshortplanks.com> 2002.

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

πŸ’€ BUGS πŸ’€

Real talk: this module will have no effect unless Term::ANSIColor is installed. no cap. 😭

🌈 SEE ALSO 🌈

  • Test::Builder::Tester
  • Term::ANSIColor

mwah πŸ’‹ β€” this iconic page came from perl v5.42.3, dated 2026-11-03. 🫢

πŸ“¦ where this page comes from