Role and traits are the same thing. Roles weren't introduced by Moose. Outside of Moose, you might have used Class::Role or Class::Trait.
Roles, Mixins and (Java) Interfaces are alternatives to unrestricted multiple inheritance.
In reply to Re: Moose for "web 1.0" types
by ikegami
in thread Moose for "web 1.0" types
by ribasushi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |