Roles are a sane approach to code reuse with reasonable and predictable behavior, as opposed to doing ugly and unpleasant things to your classes via inheritance.
Role::Tiny brings you the minimal set of useful role-building tools modelled after Moose's implementation of the concept; it is less restrictive than other models (such as Role::Basic), and provides goodies like `around` / `before` / `after` method modifiers.
Roles have solved a lot of design headaches for me; this module appears to be the nicest "just roles, please!" implementation available.
2 out of 2 found this review helpful. Was this review helpful to you? Yes No