Subject: | Minimum version of Moose prereq should be at least 0.26 |
Howdy,
I tried installing MooseX::StrictConstructor with Moose 0.25 installed .. and the tests fail
with:
t/basic...........Undefined subroutine &Moose::init_meta called at ~/.cpan/build/MooseX-
StrictConstructor-0.02/blib/lib/MooseX/StrictConstructor.pm line 18.
There's a similar failure from a CPAN tester with Moose 0.25:
http://www.nntp.perl.org/group/perl.cpan.testers/2007/11/msg773061.html
From the Moose release notes it looks like init_meta() was first properly added in 0.26 .... so
seems like this should probably be the minimum version prereq'd in MooseX::StrictConstructor build.PL.
Installing Moose 0.29 (current CPAN release) resolves the test failure.
Cheers,
Stephen