[Koha-bugs] [Bug 2505] Omnibus: Enable Perl warnings in all modules and scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Feb 4 15:51:50 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2505

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |20020, 20019, 20018, 20017,
                   |                            |20016, 20015, 20012, 20013,
                   |                            |20011, 20010, 20009, 20000,
                   |                            |19998, 19997, 19996, 19995,
                   |                            |19993, 19992

--- Comment #27 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This bug hasn't seen much attention for a few years now. During the Open Source
Academy 2018 the students switched a lot (all?) scripts over to use
Modern::Perl; instead of the separate use strict; use warnings; pragmas.

I think by not using use warnings; in those scripts, we have possibly been
hiding problems and switching it on globally might now be the way to go. We can
keep an eye on the logs as we are still rather early in the release cycle and
keep fixing warns as we find them.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19992
[Bug 19992] use Modern::Perl in Admin perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19993
[Bug 19993] use Modern::Perl in Acquisition perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19995
[Bug 19995] use Modern::Perl in Catalogue perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19996
[Bug 19996] use Modern::Perl in cataloguing perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19997
[Bug 19997] use Modern::Perl in Circulation perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19998
[Bug 19998] use Modern::Perl in error perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20000
[Bug 20000] use Modern::Perl in installer perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20009
[Bug 20009] use Modern::Perl in Members perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20010
[Bug 20010] use Modern::Perl in Patroncards perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20011
[Bug 20011] use Modern::Perl in plugins perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20012
[Bug 20012] use Modern::Perl in Reports perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20013
[Bug 20013] use Modern::Perl in Reserves perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20015
[Bug 20015] use Modern::Perl in Serials perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20016
[Bug 20016] use Modern::Perl in svc scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20017
[Bug 20017] use Modern::Perl in Tools perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20018
[Bug 20018] use Modern::Perl in offline circulation perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20019
[Bug 20019] use Modern::Perl in miscellaneous perl scripts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20020
[Bug 20020] use Modern::Perl in XT scripts
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list