in reply to Inheritance strangeness

Whoops I meant:

run it and you get:

53. perl test.pl
Undefined subroutine &C::foo called at test.pl line 5.