File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ This is not a complete list of changes. See repository for full details:
8
8
* Silence overly compulsive GCC 7 warning
9
9
https://rt.cpan.org/Ticket/Display.html?id=123477
10
10
11
+ * Improve docs regarding trailing zeros
12
+ https://rt.cpan.org/Ticket/Display.html?id=122858
13
+
11
14
0.9919 - 2018-04-08
12
15
13
16
* Core improvements to locale handling
Original file line number Diff line number Diff line change @@ -266,10 +266,9 @@ leading-v and at least 3 components.
266
266
267
267
=head2 numify()
268
268
269
- Returns a value representing the object in a pure decimal form without
270
- trailing zeroes.
269
+ Returns a value representing the object in a pure decimal.
271
270
272
- version->declare('v1.2')->numify; # 1.002
271
+ version->declare('v1.2')->numify; # 1.002000
273
272
version->parse('1.2')->numify; # 1.200
274
273
275
274
=head2 stringify()
@@ -280,7 +279,7 @@ way perl would normally represent it in a string. This method is used whenever
280
279
a version object is interpolated into a string.
281
280
282
281
version->declare('v1.2')->stringify; # v1.2
283
- version->parse('1.200')->stringify; # 1.200
282
+ version->parse('1.200')->stringify; # 1.2
284
283
version->parse(1.02_30)->stringify; # 1.023
285
284
286
285
=head1 EXPORTED FUNCTIONS
You can’t perform that action at this time.
0 commit comments