On Sat Jul 06 15:17:25 2013, JPEACOCK wrote:
Show quoted text> numify() doesn't magically convert version objects to numbers; it
> returns what would be an equivalent representation if typed
> manually. What I mean by that is if you typed 0.009_009 into a
> script (with no quoting at all), the Perl parser would interpret
> that as 0.009009 (i.e. it would ignore any underscores). I
> specifically wrote numify to preserve the underscores in the case
> of alpha versions. I also specifically decided that it would be
> illegal to perform mathematic operations on base version objects.
>
> In general, if you think you need to use numify() for version objects,
> you probably aren't using version objects appropriately.
>
> John
This code is used by metacpan.org to convert a version in a true number. Our backend expects numbers so we can sort and filter on them.