in reply to a question on namespaces and inheritance
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: a question on namespaces and inheritance
by ysth (Canon) on Jun 03, 2005 at 18:56 UTC | |
by tlm (Prior) on Jun 03, 2005 at 20:02 UTC |