Bug 5600: very tiny follow-up to pass perlcritic
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 3 Aug 2012 15:00:06 +0000 (17:00 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 3 Aug 2012 15:02:35 +0000 (17:02 +0200)
open was called with 2 arguments instead of 3

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
tools/export.pl

index 003a9c7..95b8185 100755 (executable)
@@ -93,7 +93,7 @@ _USAGE_
     $record_type       ||= "bibs";
 
     # Redirect stdout
-    open STDOUT, ">$filename" if $filename;
+    open STDOUT, '>', $filename if $filename;
 
 } else {