On Tue, Oct 18, 2011 at 10:26 AM, Peter Gordon <[email protected]>wrote:
> When MyRole is composed into a class.
>
> I want it to fiddle with the attributes of the class while it is being
> built.
>
Without knowing any more, it sounds like you're looking for an attribute
metatrait -- they're perfect for fiddling. There are a couple good examples
on the CPAN (MooseX::AlwaysCoerce comes to mind), and the Moose manual for
that matter.
-Chris
--
Chris Weyl
Ex astris scientia
