Subject: | Insufficient minimal Moose version: Undefined subroutine &Moose::Util::MetaRole::apply_metaroles |
META.yml says:
requires: Moose: 0.90
If I try to run tests with Moose-0.90 I get following errors:
/usr/bin/perl "-Iinc" "-MModule::Install::ExtraTests" "-e"
"Module::Install::ExtraTests::__harness('Test::Harness', 0, 'xt/author',
'xt/release', '', 0, 'blib/lib', 'blib/arch')" t/00-load.t t/100_class.t
t/101_class_less_simple.t t/102_class_no_autoclean.t
t/103_class_inheritance.t t/104_via_method_name.t
t/105_via_method_name_with_fallback.t t/200_role_overload.t
t/201_role_overload_using_class.t t/300_generated_methods.t
# Testing MooseX::MarkAsMethods 0.08, Perl 5.010000, /usr/bin/perl
t/00-load.t ............................ ok
Undefined subroutine &Moose::Util::MetaRole::apply_metaroles called at
/builddir/build/BUILD/MooseX-MarkAsMethods-0.08/blib/lib/MooseX/MarkAsMethods.pm
line 169.
BEGIN failed--compilation aborted at t/100_class.t line 29.
t/100_class.t ..........................
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Undefined subroutine &Moose::Util::MetaRole::apply_metaroles called at
/builddir/build/BUILD/MooseX-MarkAsMethods-0.08/blib/lib/MooseX/MarkAsMethods.pm
line 169.
BEGIN failed--compilation aborted at t/101_class_less_simple.t line 29.
[...]
According Moose changelog:
0.93_01 Mon, Jan 4, 2010
* Moose::Util::MetaRole::apply_metaclass_roles is now called
apply_metaroles. The old name is deprecated. Dave Rolsky>
Thus I guess META.yml shoud require at least Moose 0.94.