From: Dagfinn Ilmari Mannsåker Date: Wed, 22 Oct 2014 15:44:41 +0000 (+0100) Subject: Call close as a function rather than a method X-Git-Tag: v0.11021~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75abfa5b960cd838a24e879a4c94013d4b6d3138;p=dbsrgits%2FSQL-Translator.git Call close as a function rather than a method Hopefully fixes test failure on 5.10.0 on MSWin32 --- diff --git a/t/05bgep-re.t b/t/05bgep-re.t index db38576..b2fc918 100644 --- a/t/05bgep-re.t +++ b/t/05bgep-re.t @@ -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");