📄 color.pm
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -