From: Julian Maurice Date: Fri, 3 Aug 2012 15:00:06 +0000 (+0200) Subject: Bug 5600: very tiny follow-up to pass perlcritic X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=322a9c7fbbcf456084d1937f48345b3cdec058ce;hp=c5e6fb7227d4d30818ca013f0d2cf9bde60fcc25;p=koha.git Bug 5600: very tiny follow-up to pass perlcritic open was called with 2 arguments instead of 3 Signed-off-by: Paul Poulain --- diff --git a/tools/export.pl b/tools/export.pl index 003a9c7f36..95b81857e3 100755 --- a/tools/export.pl +++ b/tools/export.pl @@ -93,7 +93,7 @@ _USAGE_ $record_type ||= "bibs"; # Redirect stdout - open STDOUT, ">$filename" if $filename; + open STDOUT, '>', $filename if $filename; } else {