in reply to Moose for "web 1.0" types
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moose for "web 1.0" types
by stvn (Monsignor) on Sep 03, 2009 at 13:34 UTC |