From 60442880e7fbe2dbf3f37361fff7030639ff2b7c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 27 Oct 2021 09:16:42 +0200 Subject: [PATCH] Bug 14957: Fix perlcritic error on admin/marc-overlay-rules.pl Subroutine "new" called using indirect syntax at line 30, column 13. See page 349 of PBP. (Severity: 4) --- admin/marc-overlay-rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/marc-overlay-rules.pl b/admin/marc-overlay-rules.pl index 377ed1b34f1..05a5bbe5817 100755 --- a/admin/marc-overlay-rules.pl +++ b/admin/marc-overlay-rules.pl @@ -27,7 +27,7 @@ use C4::ImportBatch; use Koha::MarcOverlayRules; use Koha::Patron::Categories; -my $input = new CGI; +my $input = CGI->new; my $op = $input->param('op') || ''; my $errors = []; -- 2.25.1