Subject: | does not extract correct version for modules with a dev release |
perl -MData::Dumper -MModule::Extract::VERSION -wle'print Dumper( Module::Extract::VERSION->parse_version_safely($ARGV[0]))' `perldoc -lm Test::More`
$VAR1 = '$';
$VAR2 = 'VERSION';
$VAR3 = '0.98_05';
$VAR4 = '/Users/ether/.perlbrew/libs/19.2@std/lib/perl5/Test/More.pm';
$VAR5 = 20;
The version should be '0.9805', not '0.98_05'.
FWIW, Module::Metadata has the same problem (see RT#87438, RT#87599).