]> git.koha-community.org Git - koha.git/commit
Bug 30731: Silence noisy CPAN modules in C4::Installer::PerlModules
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 11 May 2022 14:26:06 +0000 (14:26 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 1 Jun 2022 19:15:25 +0000 (16:15 -0300)
commitda1115336bfab44eb9eebaae214c355fa19fc36d
tree5c1fb7a4953be9db3d65d659f13d947c2fc9fa9b
parent2265739a378c1d31c5ea3d4beb07cbaa4d04e62b
Bug 30731: Silence noisy CPAN modules in C4::Installer::PerlModules

Main change is replacing 'no warnings' by local $SIG{__WARN__}.

The modules are sorted now too. This will make results of requiring
them one after the other a more predictable experience and improves
the output of koha_perl_deps.

Test plan:
Run about. Check plack intranet log.
Run koha_perl_deps.pl -a

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Installer/PerlModules.pm