Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I like the rigor that Class::Base places on the constructor. And I am a big fan of keyword parms. But CB does not seem to be a complete solution for oop-dev because you dont get the same parameter validation for methods.
I endorse and use Params::Validate for this purpose. What do you use to get validated keywords parms for constructor and methods for your oop-dev?
Ivan Raikov says: the first step to understanding recursion is to begin by understanding recursion. In reply to Class::Base uses keyword parms for constructor but then methods use positional [oop, swengr] by princepawn
|
|