Skip Menu |

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

Report information
The Basics
Id: 54481
Status: rejected
Priority: 0/
Queue: Perl-Version

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

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



Subject: bumps 1.1709 to 1.17010
I ran "perl-reversion --bump" on CPAN-Reporter-1.1709 and the versions were bumped to 1.17010. It should have bumped to 1.1710.
On Wed Feb 10 09:52:37 2010, DAGOLDEN wrote: Show quoted text
> I ran "perl-reversion --bump" on CPAN-Reporter-1.1709 and the versions > were bumped to 1.17010. It should have bumped to 1.1710.
Perl::Version doesn't have the smarts to act this way because it's considering all versions to have three parts. It sees 1.170.009, which it bumps to 1.170.010, which it stringifies to 1.17010. This is documented behavior. We could turn off the way if deals with a single decimal point with another code path, perhaps enabled by a command-line option. Otherwise, a change would disrupt intended behavior.
At this point, I've already scratched my itch with Version::Next. (FYI, Version::Next references Perl::Version for more complex manipulations.) I have no objections to this ticket being closed.