CC: | coders [...] donor.com, systems [...] donor.com, "Jon Rockhold x421 c303.667.6484" <jon [...] donor.com> |
Subject: | POE::Component::MessageQueue 0.2.6 alias_method deprecation |
Date: | Tue, 08 Sep 2009 12:27:26 -0400 |
To: | bug-POE-Component-MessageQueue [...] rt.cpan.org |
From: | Greg Folkert <greg [...] donor.com> |
package POE::Component::MessageQueue::Storage::Double;
our $VERSION = '0.2.6';
perl v5.10.1
There are a few errors I'm seeing on compilation and also in usage.
The deprecation of "alias_method" and should be using "add_method" in
version 0.2.6 of POE::Component::Storage::Double. I get warnings all
over the place in all of my code that uses it. Here is the description
of the way our internal programmer fixed the issues.
Currently Line 27 of POE/Component/MessageQueue/Storage/Double.pm reads
as follows:
__PACKAGE__->meta->alias_method($method, sub {
One minor change to that line to read:
__PACKAGE__->meta->add_method($method, sub {
Fixes all the deprecation warnings.
If more info is needed, please send a message to this e-mail address.
Thanks!
--
Greg Folkert - Systems Administration and Support
web: donor.com
email: greg@donor.com
phone: 877-751-3300 x416
GR Local: 616-827-7161 x416
voip: greg@sip.donor.com