Why to use Moose roles ever?
[email protected] (Victor Porton) Wed, 10 Aug 2016 16:00:33 +0300
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <[email protected]> |
Moose roles have some limitations, such as inability to override a method in a class which "with"es the role. But I can use an abstract base class instead of a role. Are there any real situations where roles are better than base classes? With examples, please.