[Koha-bugs] [Bug 15215] New: Remove Depreciation Errors due to misuse of UNIVERSAL in SIP/Sip/MsgType.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 19 13:04:40 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15215

            Bug ID: 15215
           Summary: Remove Depreciation Errors due to misuse of UNIVERSAL
                    in SIP/Sip/MsgType.pm
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: SIP2
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: colin.campbell at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

Compiling C4/SIP/Sip/MsgType.pm generates the warning

UNIVERSAL->import is deprecated and will be removed in a future perl in perl
5.22 this is now a fatal error causing compilation to abort with the message
'UNIVERSAL does not export anything'. (And e.g. crashing Koha's test suite
fairly early on)

replace invalid call to UNIVERSAL with a use UNIVERSAL::can to avoid this

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


More information about the Koha-bugs mailing list