I would like to keep this one short. I build a HouseA that has two rooms, say BedRoom and StudyRoom, both deriving from a base class called R
BedRoom
StudyRoom
R
Why not use roles to achieve this:
House A has a Bedroom Bedroom does SleepingArea House has a Studyroom Studyroom does ComfyArea House B has a MasterRoom MasterRoom does SleepingArea and ComfyArea
The easiest way to get roles is to use Moose.