Skip Menu |

This queue is for tickets about the Module-Version CPAN distribution.

Report information
The Basics
Id: 57795
Status: resolved
Priority: 0/
Queue: Module-Version

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.05
Fixed in: (no value)



Subject: Test fails with alpha version of Test::More
app.t fails if Test::More is an alpha version: not ok 7 - run() ok - regular # Failed test 'run() ok - regular' # at t/app.t line 55. # STDOUT is: # 0.95_02 # # not: # 0.9502 # # as expected $Test::More::VERSION is eval'd inside Test::More in order to ensure it is a number for easier comparison. This is a fairly common idiom.
Right you are! And this is now fixed in Module::Version 0.06, released just now. The default would be to provide "0.8702" for "0.87_02", but you can also specify "--dev" to mean "show me the actual dev version on dev releases. What "--dev" does is simply not eval() the version it gets. The default would be to eval() it. Thanks for the report! :) Sawyer.