Skip Menu |

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

Report information
The Basics
Id: 114541
Status: stalled
Priority: 0/
Queue: Perl-Version

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

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



Subject: Strange dropping of 0's with _ versions

Probably shouldn't be setting version to have an underscore with this ... but ... either way, this was surprising.

 

perl-reversion -set 1.000005_001

...

+our $VERSION   = '1.000005_01';

 

uuuuh.

 

On Sat May 21 01:41:34 2016, KENTNL wrote: Show quoted text
> Probably shouldn't be setting version to have an underscore with this > ... but > ... either way, this was surprising. > > perl-reversion -set 1.000005_001 > > ... > > +our $VERSION = '1.000005_01'; > > uuuuh.
The output format is hardcoded and there isn't a convenient way to record the number of digits in the dev version. I think adding this sort of logic would require quite a bit of rewriting. If someone has time for that, send a pull request. :)