Summary: | Warning of Modern::Perl raised by koha_perl_deps script | ||
---|---|---|---|
Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
Component: | Command-line Utilities | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | ||
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
Marcel de Rooy
2012-07-23 10:22:10 UTC
The $pkg->VERSION check on module Modern::Perl itself generates the warning for older versions of this CPAN module. The latest version 1.20140107 contains this line now: return $VERSION unless defined $version; And that will resolve it. Note checking $Modern::Perl::VERSION ($pkg::VERSION) in the old situation would have been fine too. Closed. |