Kevin Ryde via RT wrote:
Show quoted text> Sounds like what I struck in ticket 36570. The underlying evil, if I'm
> not mistaken, is that version.pm numify returns a non-number, and/or
> that List::Utils::max() numifies rather than using an overloaded compare
> operator. (You can more or less understand the latter, but the former
> seems very dodgy.)
And mentioned in #37996, as well.
For situations involving "use <perl version>" using underscore, I have no sympathy for those using underscores in non-alpha/beta release numbers. The example in perlfunc for use is bad.
However, yes, this does result from the return value of version::numify(). The base problem is that I don't want to get into the business of parsing version numbers; that's why we're using version.pm in the first place.
If we were looking at /module/ version numbers, e.g. "use Foo::Bar 1.2_3 2, 3, 4", I'd feel that we'd have to do something about it. But in the case of perl versions, I don't feel at all inclined.