Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 93603
Status: resolved
Priority: 0/
Queue: version

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

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



Subject: version->new(".1.") is not fatal
".1." is not a valid v-string in Perl, nor does it pass is_lax. But the constructor will treat it as v0.1.0. While the ".1.2" format is sadly necessary under the lax regime, I think ".1." should be a fatal error.
Same problem exists for ".1.2.". is_lax requires a trailing part and the parser does not.
Fixed. Will be in 0.9909 (probably after Perl v5.20.0 ships).