[Koha-bugs] [Bug 8491] New: Warning of Modern::Perl raised by koha_perl_deps script
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 23 12:22:10 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8491
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8491
Assignee: gmcharlt at gmail.com
Summary: Warning of Modern::Perl raised by koha_perl_deps
script
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: m.de.rooy at rijksmuseum.nl
Hardware: All
Status: NEW
Version: master
Component: Command-line Utilities
Product: Koha
The actual error is (with perl 5.14.2 and Modern::Perl==1.20120130):
[Fri Jul 20 16:37:07 2012] koha_perl_deps.pl: Use of uninitialized value
$version in numeric lt (<) at /usr/local/share/perl5/Modern/Perl.pm line 25.
[Fri Jul 20 16:37:07 2012] koha_perl_deps.pl: Use of uninitialized value
$version in numeric lt (<) at /usr/local/share/perl5/Modern/Perl.pm line 25.
As Jonathan Druart pointed out in bug 7368, it is caused by the way this module
handles version numbers.
So it seems like an error in Modern::Perl although its docs state that it is
not necessary to pass a version or a year to Modern::Perl.
AFAIK we are not passing numbers to Modern::Perl in our Koha use statements.
But when I test that in a simple script, I do not even raise this warning. What
makes koha_perl_deps do raise that warning?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list