Subject: | Warnings when using with latest version of Package::Stash |
Date: | Thu, 9 May 2013 09:32:24 -0700 |
To: | bug-Class-MOP [...] rt.cpan.org |
From: | Pablo Fischer <pablo [...] pablo.com.mx> |
Hello,
One of the applications I've has a dependency in Moose, moose has a
dependency on Class::MOP.. Class::MOP depends on Package::Stash 0.13 or
higher. The latest version of Package::Stash (pushed to cpan on 04/Jan/2013
has a list of deprecated calls that are still in Class::MOP.
Can Class::MOP::Package be fixed so it can work with newest version of
Package::Stash (deprecated calls) and with the old one?
Package::Stash::get_or_add_package_symbol('Package::Stash=HASH(0xa01aee0)',
'HASH(0xa01acc4)') called at
perl/5.10/i686-linux-thread-multi-64int-ld/Class/MOP/Package.pm line 128
Class::MOP::Package::get_or_add_package_symbol('Class::MOP::Class=HASH(0xa01ad64)',
'HASH(0xa01acc4)') called at
perl/5.10/i686-linux-thread-multi-64int-ld/Class/MOP/Class.pm line 836
From code of Package::Stash:
http://cpansearch.perl.org/src/DOY/Package-Stash-0.34/lib/Package/Stash.pm
sub get_or_add_package_symbol {
deprecated('get_or_add_package_symbol is deprecated, please use
get_or_add_symbol');
shift->get_or_add_symbol(@_);
}
Thanks!
--
Pablo Fischer (pablo [arroba/at] pablo.com.mx)