Subject: | M::B::ModuleInfo cannot parse dev version strings when only version.pm v0.78 is present |
This is all under ActivePerl 1007, if it makes a difference.
Here's the failed test:
t/properties/release_status.t .. 7/?
# Failed test 'dotted alpha version has release_status 'testing''
# at t/properties/release_status.t line 78.
# got: 'stable'
# expected: 'testing'
What happens is this:
When parsing the module's version, the eval at line 308 in
ModuleInfo.pm turns the version "v1.2.3_1" into "\x01\x01\x1F", when
executed at line 334. At line 349 this is converted into a version
object.
On a system with version.pm v0.82 installed, the version object
correctly represents "v1.2.3_1".
On a system with version.pm v0.78 installed, line 349 makes M::B::V
fall back to pure perl, which results in the version string "v1.2.31".