|Subject:||Trailing zeros in version numbers confuse corelist|
The corelist utility reports that it has no info on Perl 5.10.0, even though I can see the data in %version. The problem is that the trailing zeros in the '5.010000' key are being stripped so the exists() check in corelist is failing. Running C<corelist -v> reports that it has information on version "5.01" but attempting to access it with C<corelist -v 5.01> results in "Module::CoreList has no info on perl v5.010" It's probably necessary to manually quote the keys in %version so that they're treated as strings instead of numbers. This could break assumptions in other parts of the module, so it might be necessary to force all version strings into a canonical representation.