Because a role doesn't have a BUILD people often write `around 'BUILD'
=> sub {}`. If this is to continue, should BUILD be special cased such
that a role wrapping it can still fire code if it isn't present in the
composing class? Should the role install BUILD if it isn't present,
like an `override_or_after 'BUILD' => sub {}`?

I've just got an Attribute Trait which I want to set from within in a
role, I do that currently by wrapping BUILD.

-- 
Evan Carroll - [email protected]
System Lord of the Internets - Dealermade
web: http://www.dealermade.com
ph: 888.403.9143

Reply via email to