[Koha-bugs] [Bug 8871] Many "subroutine redefined" warnings from C4 and Koha modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 1 11:24:38 CET 2023


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Many "subroutine redefined" |Many "subroutine redefined"
                   |warnings from C4 modules    |warnings from C4 and Koha
                   |                            |modules

--- Comment #6 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Katrin Fischer from comment #5)
> (In reply to Jonathan Druart from comment #4)
> > This is not specific to C4/Reserves.pm. We have circular dependencies in all
> > our C4 modules.
> 
> How should we go about this? Is there a chance to fix those or is this more
> a matter of moving more things to Koha: to clean up the code more?

Not really...

% perl -w C4/Circulation.pm 2>&1|wc -l
53
% perl -w C4/Reserves.pm 2>&1|wc -l
35

% perl -w Koha/Item.pm 2>&1|wc -l
56
% perl -w Koha/Patron.pm 2>&1|wc -l
83

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list