But I think instead of hacking Moose, you should try to hide all magic inside an MagicBase::import() which calls extends in the callers package for you and just do use MagicBase qw/-feature/ .
Like that you avoid boilerplating hacks and you can put all magical documentation inside your module.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
In reply to Re^5: Passing an import list to Moose extends
by LanX
in thread Passing an import list to Moose extends
by davido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |