Bug 24217: use Modern::Perl for modules when strict is missing
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Dec 2019 12:02:07 +0000 (13:02 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Jan 2020 10:45:46 +0000 (10:45 +0000)
commitdc5fe323d2e8393caa76103c1402a0448003f61e
tree94b6e1125c3129f80e549bb595b2ecce17e40b76
parent65fb97389b229c0a4de2a09570168ee4a48359bc
Bug 24217: use Modern::Perl for modules when strict is missing

We absolutely need that for modules.
We are enabling strict by using Modern::Perl.
Note that other modules from C4 use strict and warnings, instead of
Modern::Perl

Test plan: git grep 2505 **/*.pm should not return any results

And let's see later what needs to be fixed.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
28 files changed:
C4/Accounts.pm
C4/Auth_with_ldap.pm
C4/AuthoritiesMarc/MARC21.pm
C4/AuthoritiesMarc/UNIMARC.pm
C4/BackgroundJob.pm
C4/Budgets.pm
C4/Circulation.pm
C4/Contract.pm
C4/InstallAuth.pm
C4/Installer/UpgradeBackup.pm
C4/Items.pm
C4/Koha.pm
C4/Members.pm
C4/Members/AttributeTypes.pm
C4/Output.pm
C4/Overdues.pm
C4/Print.pm
C4/Record.pm
C4/Reports.pm
C4/Reserves.pm
C4/Scheduler.pm
C4/Search.pm
C4/Search/PazPar2.pm
C4/Suggestions.pm
C4/TmplTokenType.pm
C4/XISBN.pm
misc/translator/TmplTokenizer.pm
misc/translator/VerboseWarnings.pm