Hmm, ... in theory it should be possible to combine roles and delegation.
Such that the role plugs in the delegations and apply_roles_to_object is blessing the object into the new singleton class.
Will try it out next week.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^4: Role::Tiny: When to use apply_roles_to_object?
by LanX
in thread Role::Tiny: When to use apply_roles_to_object?
by karlgoethebier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |