Subject: | Missing calls to numify() |
This is reported against 0.06, but RT does not offer me an 0.06.
Under Object Methods, the docs say:
numify()
In order to safely compare version::AlphaBeta objects with non-objects
or base version objects without using the overloaded comparison
operators, for example in Module::Build, this module provides a
numification operator. The floating point number returned may not be
immediately obvious, but it it designed to sort in a consistent
fashion as a number.
$v = version::AlphaBeta->new("1.0a1"); # 0.999997100
(1) You have 'it' x 2 rather than 'it is'
(2) I think this call to new(), and indeed all 5 calls to new(), are
probably meant to be new(...) -> numify(). Not so?