blob: 7edd5a39b728088790578c7e1a24d447cb4cea4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!./perl
use FileCache;
END { unlink("Foo_Bar") }
use Test::More tests => 1;
{# Test 5: that close is overridden properly within the caller
cacheout local $_ = "Foo_Bar";
print $_ "Hello World\n";
close($_);
ok(!fileno($_));
}
|