Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / lib / perl5 / 5.8.8 / Test / Builder / Tester / Color.pm
CommitLineData
920dae64
AT
1package Test::Builder::Tester::Color;
2
3use strict;
4
5require Test::Builder::Tester;
6
7=head1 NAME
8
9Test::Builder::Tester::Color - turn on colour in Test::Builder::Tester
10
11=head1 SYNOPSIS
12
13 When running a test script
14
15 perl -MTest::Builder::Tester::Color test.t
16
17=head1 DESCRIPTION
18
19Importing this module causes the subroutine color in Test::Builder::Tester
20to be called with a true value causing colour highlighting to be turned
21on in debug output.
22
23The sole purpose of this module is to enable colour highlighting
24from the command line.
25
26=cut
27
28sub import
29{
30 Test::Builder::Tester::color(1);
31}
32
33=head1 AUTHOR
34
35Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002.
36
37This program is free software; you can redistribute it
38and/or modify it under the same terms as Perl itself.
39
40=head1 BUGS
41
42This module will have no effect unless Term::ANSIColor is installed.
43
44=head1 SEE ALSO
45
46L<Test::Builder::Tester>, L<Term::ANSIColor>
47
48=cut
49
501;