in reply to Re^4: Parent cannot call Child method
in thread Parent cannot call Child method

I can call MyParent::MyChild->new() just fine with this MyChild code, but I had to modify MyParent (remove the return line in new) so that It would compile. But since MyParent::MyChild defines its own new method, MyParent.pm should not even be needed for that call to succeed ...

Replies are listed 'Best First'.
Re^6: Parent cannot call Child method
by TorontoJim (Beadle) on Mar 17, 2016 at 15:21 UTC
    I'm glad I'm not the only one finding this strange. I think I'll let it sit for a couple days then come back to it fresh.

    Thank you for trying it out, at least I know I'm heading in the right-ish direction.