# New Ticket Created by  Zefram 
# Please include the string:  [perl #128408]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128408 >


Comparison of Version objects produces silly results where the specific
versions v6 and v6.c are involved:

> v5 cmp v2
More
> v6 cmp v2
Less
> v7 cmp v2
More
> v6.b cmp v2
More
> v6.c cmp v2
Less
> v6.d cmp v2
More

This seems to be because of this inconsistency:

> (v5).parts.perl
(5,)
> (v6).parts.perl
("6",)
> (v6.b).parts.perl
(6, "b")
> (v6.c).parts.perl
("6", "c")
> (v6c).parts.perl
(6, "c")

-zefram

Reply via email to