xslate / p5-Mouse

Lightweight class builder for Perl, as a subset of Moose
https://metacpan.org/release/Mouse
Other
46 stars 32 forks source link

Having the 'v' in version number appears to cause issues on older Perls #55

Closed neilb closed 6 years ago

neilb commented 8 years ago

You might want to consider dropping the 'v' from the version number. If you look at the test failures for my module that uses Mouse, you'll see that I require 0.94 or later, but get the error:

Error: Mouse version 0.94 required--this is only version v2.4.5

As a result I'm going to switch to Moo -- those versions of Mouse are going to stay out there, and will continue to cause failures.

I realise that this will be down to an issue with older versions of some part of the toolchain (eg CPAN), but that's the reality if you want to support older versions of Perl (eg 5.8.*).

Cheers, Neil

syohex commented 8 years ago

To drop 'v' causes Mouse test failure on older Perl such as 5.8, hmm.

https://github.com/gfx/p5-Mouse/issues/32

skaji commented 6 years ago

From https://github.com/gfx/p5-Mouse/commit/0d13a7a3ecc1ffeeeeacc8b9bbba55d7eeea25c6, Mouse will use version->declare syntax. I believe this issue was resolved.