Craig A. Berry [Mon, 15 Apr 2002 22:06:14 +0000 (17:06 -0500)]
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <
a05101501b8e144aa1d4a@[172.16.52.1]>
p4raw-id: //depot/perl@15942
}
{# Test 5: that close is overridden properly
- cacheout local $_ = "Foo'Bar";
+ cacheout local $_ = "Foo_Bar";
print $_ "Hello World\n";
close($_);
open($_, "+>$_");
{# Test close override
package Bob;
use FileCache;
- cacheout local $_ = "Foo'Bar";
+ cacheout local $_ = "Foo_Bar";
print $_ "Hello World\n";
close($_);
open($_, "+>$_");
}
);
-unlink @files, "Foo'Bar";
+1 while unlink @files, "Foo_Bar";