]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Nov 2015 14:16:49 +0000 (11:16 -0300)
commitd69b6c048077fc028941870d1912b325076800c1
tree39e4ee0b9e5c4fee520a7f8a7adf98da8b338019
parent4fb4e16d8cd65e1d7e75afe65147a5f2a6a20ebb
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>
C4/Installer/PerlDependencies.pm
C4/SIP/Sip/MsgType.pm