![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: object oriented Perl advice / constructor creation in child classby pwagyi (Monk) |
on Jul 13, 2018 at 01:54 UTC ( #1218415=note: print w/replies, xml ) | Need Help?? |
Since you want C1 to inherit from all A,B,C and D, what you actually want may be 'Role' instead of inheritance? Especially if A,B,C,D serve different functionalities. With moose, you can also apply roles to instances.
In Section
Seekers of Perl Wisdom
|
|