From 596a25892e3ac47f1e9fff9c89c92b1660d736cd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 27 Oct 2017 14:57:46 -0300 Subject: [PATCH] Bug 19069: (follow-up) Remove perlcritic error Subroutine prototypes used at line 6, column 1. See page 194 of PBP. (Severity: 5) --- Koha/MoreUtils.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/MoreUtils.pm b/Koha/MoreUtils.pm index 53d55e4c83..02751111ff 100644 --- a/Koha/MoreUtils.pm +++ b/Koha/MoreUtils.pm @@ -3,8 +3,7 @@ package Koha::MoreUtils; use Modern::Perl; # From List::MoreUtils v4.0 -sub singleton (@) -{ +sub singleton { my %seen = (); my $k; my $seen_undef; -- 2.11.0