in reply to Re^2: Inheritance strangeness
in thread Inheritance strangeness
This does what you'd expect:
use C; C->foo();
Update: In my test code, I had a use lib "[directory with A.pm, B.pm, C.pm]" before use C;. That means I explicitly got the new B.pm instead of the system one. Everyone else is right that if you're picking up the system B.pm first, that's a problem.
|
---|