From 0e7b093a103c95542ed24bdf6cb9d12c19048d04 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) Signed-off-by: Jonathan Druart --- 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.39.5