for.t

来自「UNIX下perl实现代码」· T 代码 · 共 60 行

T
60
字号
BEGIN {   chdir 't' if -d 't';   unshift @INC, '../lib';   unshift @INC, './pod';   require "testp2pt.pl";   import TestPodIncPlainText;}my %options = map { $_ => 1 } @ARGV;  ## convert cmdline to options-hashmy $passed  = testpodplaintext \%options, $0;exit( ($passed == 1) ? 0 : -1 )  unless $ENV{HARNESS_ACTIVE};__END__=podThis is a test=for theloveofpeteYou shouldn't see thisor thisor this=for textpod2text should see thisand thisand thisand everything should see this!=begin textSimilarly, this line ...and this one ...as well this one,should all be in pod2text output=end textTweedley-deedley-dee, Im as happy as can be!Tweedley-deedley-dum, cuz youre my honey sugar plum!=begin atthebeginningBut I expect to see neither hide ...nor tail ...of this text=end atthebeginningThe rest of this should show up in everything.

⌨️ 快捷键说明

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