in reply to Re: Moo role subclassing
in thread Moo role subclassing
Thank you for the response; I omitted the code where the roles are used, but it would look something like this:
package App; use Moo; with 'BasicRole'; ... package AnotherApp; use Moo; with 'SpecialRole'; ...
Since Moo does not allow roles to be extended, I am wondering if there is some magical, elegant way to implement what would essentially be subclasses of roles. I have some ugly, inelegant ideas for implementation, but was hoping that there might be something I'd missed.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Moo role subclassing
by Laurent_R (Canon) on Feb 24, 2016 at 17:52 UTC |
In Section
Seekers of Perl Wisdom