Subject: | Moose 1.13 - The alias and excludes options for role application have been renamed |
Date: | Tue, 14 Sep 2010 22:20:37 +0100 |
To: | <bug-Moose [...] rt.cpan.org> |
From: | "noel" <noel.dolan [...] atlantisstorm.com> |
To whom it concerns,
Get the following warning/error message from Moose (v1.13) on apache
(v.2.2.8) restart.
#-----------------------------------------------------------------------------------
# Error/Warning
#-----------------------------------------------------------------------------------
The alias and excludes options for role application have been renamed -alias
and -excludes at /usr/local/lib/perl/5.8.8/Moose/Meta/Role/Application.pm
line 26
Moose::Meta::Role::Application::new('Moose::Meta::Role::Application::ToRole',
'excludes', 'ARRAY(0x94c1470)') called at
/usr/local/lib/perl/5.8.8/Moose/Meta/Role.pm line 416
Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x9657330)',
'Moose::Meta::Role=HASH(0x965aad8)', 'excludes', 'ARRAY(0x94c1470)') called
at /usr/local/lib/perl/5.8.8/Moose/Util.pm line 133
Moose::Util::_apply_all_roles('Moose::Meta::Role=HASH(0x965aad8)',
'undef', 'MooseX::Traits::Pluggable', 'HASH(0x964f398)') called at
/usr/local/lib/perl/5.8.8/Moose/Util.pm line 87
Moose::Util::apply_all_roles('Moose::Meta::Role=HASH(0x965aad8)',
'MooseX::Traits::Pluggable', 'HASH(0x964f398)') called at
/usr/local/lib/perl/5.8.8/Moose/Role.pm line 26
Moose::Role::with('Moose::Meta::Role=HASH(0x965aad8)',
'MooseX::Traits::Pluggable', 'HASH(0x964f398)') called at
/usr/local/lib/perl/5.8.8/Moose/Exporter.pm line 294
Moose::Role::with('MooseX::Traits::Pluggable', 'HASH(0x964f398)')
called at /usr/local/share/perl/5.8.8/CatalystX/Component/Traits.pm line 8
require CatalystX/Component/Traits.pm called at
/usr/local/lib/perl/5.8.8/Class/MOP.pm line 113
Class::MOP::__ANON__() called at
/usr/local/share/perl/5.8.8/Try/Tiny.pm line 71
eval {...} called at /usr/local/share/perl/5.8.8/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x94cb1c0)', 'Try::Tiny::Catch=REF(0x949c078)')
called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 124
Class::MOP::load_first_existing_class('CatalystX::Component::Traits')
called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 136
Class::MOP::load_class('CatalystX::Component::Traits', 'undef')
called at /usr/local/lib/perl/5.8.8/Moose/Util.pm line 109
Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x94cb274)',
'undef', 'CatalystX::Component::Traits') called at
/usr/local/lib/perl/5.8.8/Moose/Util.pm line 87
Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x94cb274)',
'CatalystX::Component::Traits') called at /usr/local/lib/perl/5.8.8/Moose.pm
line 58
Moose::with('Moose::Meta::Class=HASH(0x94cb274)',
'CatalystX::Component::Traits') called at
/usr/local/lib/perl/5.8.8/Moose/Exporter.pm line 294
Moose::with('CatalystX::Component::Traits') called at
/usr/local/share/perl/5.8.8/Catalyst/Model/DBIC/Schema.pm line 6
require Catalyst/Model/DBIC/Schema.pm called at (eval 454) line 3
eval 'require Catalyst::Model::DBIC::Schema
;' called at /usr/share/perl/5.8/base.pm line 81
base::import('base', 'Catalyst::Model::DBIC::Schema') called at
/home/source/YoGoMa/lib/YoGoMa/Model/DB.pm line 4
YoGoMa::Model::DB::BEGIN() called at
/usr/local/share/perl/5.8.8/CatalystX/Component/Traits.pm line 0
eval {...} called at
/usr/local/share/perl/5.8.8/CatalystX/Component/Traits.pm line 0
require YoGoMa/Model/DB.pm called at
/usr/local/share/perl/5.8.8/Catalyst/Utils.pm line 287
eval {...} called at /usr/local/share/perl/5.8.8/Catalyst/Utils.pm
line 287
Catalyst::Utils::ensure_class_loaded('YoGoMa::Model::DB',
'HASH(0x9347bc0)') called at /usr/local/share/perl/5.8.8/Catalyst.pm line
2428
Catalyst::setup_components('YoGoMa') called at
/usr/local/share/perl/5.8.8/Catalyst.pm line 1161
Catalyst::setup('YoGoMa') called at
/home/source/YoGoMa/lib/YoGoMa.pm line 42
require YoGoMa.pm called at (eval 2) line 3
eval 'require YoGoMa
;' called at /usr/local/share/perl/5.8.8/CatalystX/Component/Traits.pm line
0
#-----------------------------------------------------------------------------------
# Environment
#-----------------------------------------------------------------------------------
Ubuntu 8.04
perl -v 5.8.8
Moose 1.13
MooseX::Declare 0.34
Catalyst 5.80027
DBIx::Class 0.08123
Apache 2.2.8
Regards,
Noel Dolan
http://www.atlantisstorm.com
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.851 / Virus Database: 271.1.1/3113 - Release Date: 09/04/10
07:34:00