When code is loaded through an @INC-hook, and when this hook
[p5sagit/p5-mst-13.2.git] / t / op / stat.t
index bcf5bd1..c3df450 100755 (executable)
@@ -493,6 +493,7 @@ SKIP: {
     my @thwap = stat *F{IO};
     ok(@thwap, "stat(*F{IO}) works");    
     ok( -f *F{IO} , "single file tests work with *F{IO}");
+    close F;
     unlink $tmpfile;
 
     #PVIO's hold dirhandle information, so let's test them too.