[Koha-bugs] [Bug 16638] Business::ISBN versioning scheme says it needs upgrade, but doesn't
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 2 07:41:25 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16638
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |veron at veron.ch
See Also| |https://bugs.koha-community
| |.org/bugzilla3/show_bug.cgi
| |?id=5599
--- Comment #1 from Marc Véron <veron at veron.ch> ---
This is related to Bug 5599 - koha_perl_deps.pl and PerlDependencies.pm don't
compare $VERSION numbers correctly.
To get more information in such cases, I introduced Bug Bug 12790 - Perl
modules: Display required version numbers on about page
Bug 5599 got a temporary fix for Graphics::Magick
- 'min_ver' => '1.3.5'
+ 'min_ver' => '1.3.05'
This is a similar case (2.05 vs 2.010).
There are other issues waiting, e.g.
File::Path (2.07) 2.08_01
(compares correctly at the moment, but what about something like 2.08_01 vs
2.09 ?)
Maybe the following helps to get a sustainable solution:
http://stackoverflow.com/questions/19973852/perl-compare-version-numbers-5-1-5-10
Answer 6:
print version->declare('5.1')->numify; # 5.00100
print version->declare('5.10')->numify; # 5.01000
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list