in reply to Re^3: Extensions via Moose
in thread Extensions via Moose
And it is basically a call to:# runtime role application is fundamentally broken. if you really # need it, write it yourself, but consider applying the roles before # you create an instance.
So why should I be scared of Trait->meta->apply? Why would writing it myself be better than the function that appears here?$trait->meta->apply($self, rebless_params => $rebless_params || {});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Extensions via Moose
by stvn (Monsignor) on May 01, 2011 at 01:56 UTC |