Subject: | The import, unimport, & init_meta subs created for the caller Moose::Exporter by should not be __ANON__ |
There are a couple ways we could fix this:
* The simplest is to simply use subname() in Moose::Exporter before we call CMOP::Package->add_package_symbol - this should use a fully qualified name ($caller . '::import')
* A possibly better way to do this is to add a new API to CMOP::Package, ->add_subroutine() - this would take an unqualified name ("import") and a subref and install the new sub _with_ the name. We would also want CMOP::Mixin::HasMethods->add_method to call this rather than duplicating the functionality there.