Skip Menu |

This queue is for tickets about the version-AlphaBeta CPAN distribution.

Report information
The Basics
Id: 17514
Status: resolved
Priority: 0/
Queue: version-AlphaBeta

People
Owner: Nobody in particular
Requestors: ron [...] savage.net.au
Cc:
AdminCc:

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



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?
From: jpeacock [...] cpan.org
On Mon Feb 06 21:50:33 2006, guest wrote: Show quoted text
> (1) You have 'it' x 2 rather than 'it is'
Fixed (in my defense, the two 'it' instances are broken across a line). Show quoted text
> (2) I think this call to new(), and indeed all 5 calls to new(), are > probably meant to be new(...) -> numify(). Not so?
No, I was only trying to show what various v::AB objects would numify() as, not suggest that people should create their objects using numify(). If I could hide the numify() operator for most purposes, I would, because what it returns is not the same thing as was used to create the object. John