in reply to Re: Inheritance strangeness
in thread Inheritance strangeness
And the same answer as above applies...
C::foo is a function call, C->foo is a method call.
C::foo is procedural style and doesn't inherit, C->foo is an OO style and does inherit.