05override.t

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

T
22
字号
#!./perlBEGIN {    use FileCache;    chdir 't' if -d 't';    #For tests within the perl distribution    @INC = '../lib' if -d '../lib';    END;}END{  unlink("Foo_Bar");}print "1..1\n";{# Test 5: that close is overridden properly within the caller     cacheout local $_ = "Foo_Bar";     print $_ "Hello World\n";     close($_);     print 'not ' if fileno($_);     print "ok 1\n";}

⌨️ 快捷键说明

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