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 |