in reply to Re: How to implement such kind of magic?
in thread How to implement such kind of magic?

I want to have only ONE function exists in the root class, and it seems only one OUR variable exists in the root class is not a good solution, because it will be affected by all of its descendants. What I want is:
Foo: get Base and Foo Bar: get Base and Bar
but not:
Foo: get Base, Foo and Bar Bar: get Base, Foo and Bar
It seems that I have to write a sub recursively traverse through the namespace tree?