in reply to Re^2: How Should I Relate Many Objects Of One Kind To A Single, Common Object Of Another
in thread How Should I Relate Many Objects Of One Kind To A Single, Common Object Of Another

Inheritance is just one relationship that objects and classes can be put into. Delegation, aggregation, composition, etc are sometimes overlooked

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re^3: How Should I Relate Many Objects Of One Kind To A Single, Common Object Of Another