]> git.koha-community.org Git - koha.git/commit
Bug 15215: Remove warning due to misuse of UNIVERSAL
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 19 Nov 2015 12:15:34 +0000 (12:15 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 21:15:40 +0000 (22:15 +0100)
commita7f6d8238ea42bbf30a41126f608d814d03e530d
tree3773b7a1a70bdb7e323df2b2ccb099ad9d5b72ac
parent9d691b2a85d494b66352d2d3de05480fe170fd89
Bug 15215: Remove warning due to misuse of UNIVERSAL

Calling UNIVERSAL's internal methods will cause a depreciation
warning in perls less that 5.22 as of 5.22 the warning is a fatal
error causing compilation to abort

Replace the use UNIVERSAL with UNIVERSAL::can to work around the
buggy construct perldoc UNIVERSAL::can for more info

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
No more worning/error
No qa errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d69b6c048077fc028941870d1912b325076800c1)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Installer/PerlDependencies.pm
C4/SIP/Sip/MsgType.pm