Call close as a function rather than a method
Dagfinn Ilmari Mannsåker [Wed, 22 Oct 2014 15:44:41 +0000 (16:44 +0100)]
Hopefully fixes test failure on 5.10.0 on MSWin32

t/05bgep-re.t

index db38576..b2fc918 100644 (file)
@@ -51,7 +51,7 @@ SKIP: {
                                 SUFFIX => '.xml',
                                 DIR => tmpdir);
     print $fh $data;
-    $fh->close;
+    close $fh;
 
     ok(XML::Parser->new->parsefile($fname),
         "Successfully parsed output");