From 1ee8b4b9d38207aa2d68ea205af56b1cfc5f1423 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 12 May 2022 07:05:50 +0000 Subject: [PATCH] Bug 30731: Remove Readonly::XS::MAGIC_COOKIE This variable does not make sense anymore, since the Readonly::XS module is not listed in the cpanfile. So it will not be required the versions_info loop. Test plan: Run t/Installer_PerlModules.t again. Signed-off-by: Marcel de Rooy Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- C4/Installer/PerlModules.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/C4/Installer/PerlModules.pm b/C4/Installer/PerlModules.pm index a66dc03899..5d4a84ecda 100644 --- a/C4/Installer/PerlModules.pm +++ b/C4/Installer/PerlModules.pm @@ -72,8 +72,6 @@ sub versions_info { } my $attr; - - $Readonly::XS::MAGIC_COOKIE="Do NOT use or require Readonly::XS unless you're me."; { # ignore warnings from noisy modules local $SIG{__WARN__} = sub {}; -- 2.30.2