Why don't you move to MotherClass those methods from ChildClass1 that you want ChildClass2 also to have?
You are confusing two rather different ways to use modules. Expressions like
are "procedural", not OO; mixing procedural and OO calling conventions will cause you grief.MotherClass::ChildClass1::object_method(@_)
the lowliest monk
In reply to Re: a question on namespaces and inheritance
by tlm
in thread a question on namespaces and inheritance
by thcsoft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |