[Koha-bugs] [Bug 35133] Accessors defined in AUTOLOAD does not work if called with SUPER

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 18 22:20:39 CET 2024


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

Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Passed QA

--- Comment #9 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
Looks like this has been a bug in Perl since version 5.18 -
https://www.perlmonks.org/?node_id=1171033

It makes sense to me to avoid adding the method reference to the symbol table
when handling a SUPER call, since the reference will not work and the next call
will fall back to AUTOLOAD anyway. This shouldn't have any side effects, and it
passes the QA checks. Thanks for including a clear explanation in the comments,
too!

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


More information about the Koha-bugs mailing list