source: for-distributions/trunk/bin/windows/perl/lib/Test/Builder/Tester/Color.pm@ 14489

Last change on this file since 14489 was 14489, checked in by oranfry, 17 years ago

upgrading to perl 5.8

File size: 945 bytes
Line 
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>[email protected]<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;
Note: See TracBrowser for help on using the repository browser.