in reply to Re: a question on namespaces and inheritance
in thread a question on namespaces and inheritance

$obj.

$obj->ChildClass2::method(...) is almost identical to ChildClass2::method($obj, ...). The only difference is that it also looks for method on ChildClass2 parent classes.

Replies are listed 'Best First'.
Re^3: a question on namespaces and inheritance
by adrianh (Chancellor) on Jun 05, 2005 at 00:31 UTC
    The only difference is that it also looks for method on ChildClass2 parent classes.

    It also allows you to use SUPER:: in the method.