We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c79e637 commit c8f953eCopy full SHA for c8f953e
doc/Type/Version.pod6
@@ -46,12 +46,22 @@ numeric and alphabetic characters.
46
47
Returns the list of parts that make up this Version object
48
49
+ my $v1 = v1.0.1;
50
+ my $v2 = v1.0.1+;
51
+ say $v1.parts; # (1 0 1)
52
+ say $v2.parts; # (1 0 1)
53
+
54
=head2 method plus
55
56
method plus(Version:D:) returns Bool:D
57
58
Returns C<True> if comparisons against this version allow larger versions too.
59
60
61
62
+ say $v1.plus; # False
63
+ say $v2.plus; # True
64
65
=head2 method Str
66
67
method Str(Version:D:) returns Str:D
0 commit comments