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