color.pm

来自「source of perl for linux application,」· PM 代码 · 共 51 行

PM
51
字号
package Test::Builder::Tester::Color;use strict;require Test::Builder::Tester;=head1 NAMETest::Builder::Tester::Color - turn on colour in Test::Builder::Tester=head1 SYNOPSIS   When running a test script     perl -MTest::Builder::Tester::Color test.t=head1 DESCRIPTIONImporting this module causes the subroutine color in Test::Builder::Testerto be called with a true value causing colour highlighting to be turnedon in debug output.The sole purpose of this module is to enable colour highlightingfrom the command line.=cutsub import{    Test::Builder::Tester::color(1);}=head1 AUTHORCopyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002.This program is free software; you can redistribute itand/or modify it under the same terms as Perl itself.=head1 BUGSThis module will have no effect unless Term::ANSIColor is installed.=head1 SEE ALSOL<Test::Builder::Tester>, L<Term::ANSIColor>=cut1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?