From 91516955f0e344bda4443f87c0f247f1599ea532 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 --- 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