Subject: | PC::MQ calls to alias_method() |
Date: | Wed, 06 May 2009 20:39:08 -0500 |
To: | bug-POE-Component-MessageQueue [...] rt.cpan.org |
From: | Paul Dokas <dokas [...] oitsec.umn.edu> |
It appears that calls to alias_method() should be replaced with add_method()
This is on FreeBSD 7.1 with the following installed:
bsdpan-MooseX-MultiInitArg-0.01
bsdpan-POE-Component-MessageQueue-0.2.6
bsdpan-POE-Filter-Stomp-0.03
p5-Moose-0.77
p5-MooseX-AttributeHelpers-0.17
p5-Net-Stomp-0.34
Paul
% mq.pl
The alias_method method is deprecated. Use add_method instead.
at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Role.pm line 418
Moose::Meta::Role::alias_method('Moose::Meta::Role=HASH(0x72e06fa0)', 'empty', 'CODE(0x72ed89d0)') called at /usr/local/lib/perl5/site_perl/5.8.9/POE/Component/MessageQueue/Storage/Double.pm line 42
require POE/Component/MessageQueue/Storage/Double.pm called at /usr/local/lib/perl5/site_perl/5.8.9/mach/Class/MOP.pm line 136
eval {...} called at /usr/local/lib/perl5/site_perl/5.8.9/mach/Class/MOP.pm line 136
Class::MOP::_try_load_one_class('POE::Component::MessageQueue::Storage::Double') called at /usr/local/lib/perl5/site_perl/5.8.9/mach/Class/MOP.pm line 99
Class::MOP::load_first_existing_class('POE::Component::MessageQueue::Storage::Double') called at /usr/local/lib/perl5/site_perl/5.8.9/mach/Class/MOP.pm line 142
Class::MOP::load_class('POE::Component::MessageQueue::Storage::Double') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Util.pm line 97
Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x72a9c1c0)', 'CODE(0x71e6e2b0)', 'POE::Component::MessageQueue::Storage::Double') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Util.pm line 82
Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x72a9c1c0)', 'POE::Component::MessageQueue::Storage::Double') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose.pm line 65
Moose::with('POE::Component::MessageQueue::Storage::Throttled', 'POE::Component::MessageQueue::Storage::Double') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Exporter.pm line 201
Moose::with('POE::Component::MessageQueue::Storage::Double') called at /usr/local/lib/perl5/site_perl/5.8.9/POE/Component/MessageQueue/Storage/Throttled.pm line 23
require POE/Component/MessageQueue/Storage/Throttled.pm called at /usr/local/lib/perl5/site_perl/5.8.9/POE/Component/MessageQueue/Storage/Default.pm line 25
POE::Component::MessageQueue::Storage::Default::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.9/POE/Component/MessageQueue/Storage/Double.pm line 0
eval {...} called at /usr/local/lib/perl5/site_perl/5.8.9/POE/Component/MessageQueue/Storage/Double.pm line 0
require POE/Component/MessageQueue/Storage/Default.pm called at /usr/local/bin/mq.pl line 8
main::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.9/POE/Component/MessageQueue/Storage/Double.pm line 0
eval {...} called at /usr/local/lib/perl5/site_perl/5.8.9/POE/Component/MessageQueue/Storage/Double.pm line 0
--
Paul Dokas dokas at oitsec.umn.edu
======================================================================
Don Juan Matus: "an enigma wrapped in mystery wrapped in a tortilla."