📄 include.t
字号:
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 file tries to demonstrate a simple =include directivefor pods. It is used as follows: =include filenamewhere "filename" is expected to be an absolute pathname, or elsereside be relative to the directory in which the current processedpodfile resides, or be relative to the current directory.Lets try it out with the file "included.t" shall we.***THIS TEXT IS IMMEDIATELY BEFORE THE INCLUDE***=include included.t***THIS TEXT IS IMMEDIATELY AFTER THE INCLUDE***So how did we do???
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -