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

Yes, this is the start of MyChild after reading Eily's post:
package MyParent::MyChild; use strict; no strict "refs"; use Carp qw(croak); use parent qw(MyParent); my $VERSION = .01; sub new { my ($class) = @_; my $self = {}; bless $self, $class; return $self; }

Replies are listed 'Best First'.
Re^5: Parent cannot call Child method
by Eily (Monsignor) on Mar 17, 2016 at 15:02 UTC

    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 ...

      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.