![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Re: Class automators should be standardby danb (Friar) |
on Jan 15, 2004 at 03:16 UTC ( #321454=note: print w/replies, xml ) | Need Help?? |
Your point is a good one. It is necessary to hand-roll methods that do anything non-simple, like keeping is_from_west_coast() in the correct state. Because of that, C:MM can only be used for simple methods. In my case, that means C:MM methods are usually private methods, and public methods are hand-rolled. I am looking forward to automatic method constructors getting smarter in the future. I could imagine a module that combines something like Params::Validate with C:MM, like so:
-Dan
In Section
Meditations
|
|