I took a glimpse into the Moose docs
Each superclass can be followed by a hash reference with options. Currently, only -version is recognized :
extends 'My::Parent' => { -version => 0.01 }, 'My::OtherParent' => { -version => 0.03 };
So there is already a better syntax, just lacking support for more options.
Then I had a look into the source of extends , seems like it's implemented using superclasses from Moose::Meta::Class
If I were you, I'd try to patch it and see if it works like intended (or build my own xxtends ;)
Since Moose is (rightfully) so proud of its MOP* there might be a proper way to extend extends.°
HTH :)
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
*) probably using Class::MOP::Class
°) it's not easy to avoid puns here
In reply to Re: Passing an import list to Moose extends
by LanX
in thread Passing an import list to Moose extends
by davido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |