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
On Tue, Nov 16, 2010 at 11:32:55AM -0600, Evan Carroll wrote:
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?
Hi!
On Tue, Nov 16, 2010 at 11:32:55AM -0600, Evan Carroll wrote:
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
11:14 @mst sub BUILD {} after BUILD = sub {
Amusing...
sub BUILD {'amusing hack'}; after 'BUILD' = sub {}
it is.
--
Evan Carroll - e...@dealermade.com
System Lord of the Internets - Dealermade
web: http://www.dealermade.com
ph: 888.403.9143