laziness, impatience, and hubris | |
PerlMonks |
Re: MooseX::Declare not able to modify new() and BUILDARGS()by zwon (Abbot) |
on May 28, 2010 at 09:55 UTC ( [id://842008]=note: print w/replies, xml ) | Need Help?? |
It would be good to see example. but generally you should use BUILD and BUILDARGS instead of modifying new. Also declare BUILDARGS as follows: so it wouldn't complain about failed validation.
In Section
Seekers of Perl Wisdom
|
|