Subject: | get_method_map method has been made private |
When running Test::CleanNamespaces under Moose 0.92, the following
warning appears (though tests still pass):
The get_method_map method has been made private. The public version is
deprecated and will be removed in a future release.
at /usr/local/lib/perl5/site_perl/5.10.1/mach/Class/MOP/Deprecated.pm
line 119
Class::MOP::Package::get_method_map('Moose::Meta::Class=HASH(0x2842cf28)')
called at /usr/local/lib/perl5/site_perl/5.10.1/Test/CleanNamespaces.pm
line 47
Test::CleanNamespaces::__ANON__('Net::NSCA::Client',
'Net::NSCA::Client::DataPacket', 'Net::NSCA::Client::InitialPacket')
called at /usr/local/lib/perl5/site_perl/5.10.1/Test/CleanNamespaces.pm
line 66
Test::CleanNamespaces::__ANON__() called at
xt/clean-namespaces.t line 19
The get_method_map method has been made private. The public version is
deprecated and will be removed in a future release.
at /usr/local/lib/perl5/site_perl/5.10.1/mach/Class/MOP/Deprecated.pm
line 119
Class::MOP::Package::get_method_map('Moose::Meta::Class=HASH(0x28aea71c)')
called at /usr/local/lib/perl5/site_perl/5.10.1/Test/CleanNamespaces.pm
line 47
Test::CleanNamespaces::__ANON__('Net::NSCA::Client',
'Net::NSCA::Client::DataPacket', 'Net::NSCA::Client::InitialPacket')
called at /usr/local/lib/perl5/site_perl/5.10.1/Test/CleanNamespaces.pm
line 66
Test::CleanNamespaces::__ANON__() called at
xt/clean-namespaces.t line 19
The get_method_map method has been made private. The public version is
deprecated and will be removed in a future release.
at /usr/local/lib/perl5/site_perl/5.10.1/mach/Class/MOP/Deprecated.pm
line 119
Class::MOP::Package::get_method_map('Moose::Meta::Class=HASH(0x28afbbb8)')
called at /usr/local/lib/perl5/site_perl/5.10.1/Test/CleanNamespaces.pm
line 47
Test::CleanNamespaces::__ANON__('Net::NSCA::Client',
'Net::NSCA::Client::DataPacket', 'Net::NSCA::Client::InitialPacket')
called at /usr/local/lib/perl5/site_perl/5.10.1/Test/CleanNamespaces.pm
line 66
Test::CleanNamespaces::__ANON__() called at
xt/clean-namespaces.t line 19