]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 21 Jun 2022 12:16:52 +0000 (14:16 +0200)
commit6856b924f1379aac00c681c563b93d337af8b068
tree9b68d17a56cc6b37975b3a5a1ff91d3b15ad179e
parent9f999eac747f1edc9f26dbe32c652e1ecae00407
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>
(cherry picked from commit da1115336bfab44eb9eebaae214c355fa19fc36d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 847c25500322c74e1ee4c7612419be92f7f467e9)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
C4/Installer/PerlModules.pm