From 1cefcd6e123d27049970994fd6cc5390765d8286 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) Signed-off-by: Jonathan Druart --- 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 377ed1b34f..05a5bbe581 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.39.5