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

Clarify minimum perl version and dependencies #25

Closed chocolateboy closed 10 years ago

chocolateboy commented 10 years ago

(Thanks for continuing to update and improve Mouse!)

It's not clear what the minimum perl version of Mouse is, or what its required dependencies are. The minimum perl version has at least 3 different values:

I'm guessing 5.6.2 is out of date, since the changelog says:

2.1.0 2013-11-26T13:15:54Z
    - Dropped 5.6.2 support

In addition, the required dependencies aren't clear. I understood that Mouse had no required dependencies (and none are listed in the POD), but several are listed here, and unpacking the 2.2.0 tarball and running:

PERL5LIB= perl ./Build.PL

with an unladen perl results in the following error:

Base class package "Module::Build::XSUtil" is empty. (Perhaps you need to 'use' the module which defines that package first [...]). at builder/MyBuilder.pm line 6
chocolateboy commented 10 years ago

And the dependencies? The biggest selling point of Mouse for me (and not just me) was that it had no required dependencies. If this has changed (at the very least, it now appears to require Module::Build::XSUtil at the configure stage), it would be nice to document this somewhere.

syohex commented 10 years ago

We mention about dependencies in DESCRIPTION section in POD of Mouse.pm as below.

Mouse currently has no dependencies except for building/testing modules

chocolateboy commented 10 years ago

Good enough. Thanks!