http://qs321.pair.com?node_id=1218415


in reply to object oriented Perl advice / constructor creation in child class

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.

  • Comment on Re: object oriented Perl advice / constructor creation in child class