]> git.koha-community.org Git - koha.git/commit
Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Installer.pm
authorMason James <mtj@kohaaloha.com>
Tue, 26 Jun 2012 14:20:58 +0000 (02:20 +1200)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 20 Sep 2012 10:17:03 +0000 (12:17 +0200)
commit3c2a9e9155e99d0c469967b854f1e0fb2860911a
treee046499a332d81ddffd3421b39806689c1a8a564
parent642779f217785d594b5d11d0ecbef56d21b562bd
Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Installer.pm

- Bareword file handle opened at line 157, column 13.  See pages 202,204 of
PBP.  (Severity: 5)

- I/O layer ":utf8" used at line 157, column 13.  Use ":encoding(UTF-8)" to get strict validation.  (Severity: 5)

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
http://perldoc.perl.org/functions/open.html
    open(my $fh, "<:encoding(UTF-8)", "filename")
        || die "can't open UTF-8 encoded filename: $!";

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Installer.pm