No such thing as a small change | |
PerlMonks |
Re: Breaking up a big moduleby Eily (Monsignor) |
on Apr 25, 2019 at 13:19 UTC ( [id://1232981]=note: print w/replies, xml ) | Need Help?? |
I feel like I might be missing the point, but isn't parent what you are looking for? If you have use parent 'Foo::Bar'; at the top of you Foo package, any call of the form $obj->method with $obj blessed into Foo will try to call Foo::method, and failing that, try again for every module in the @ISA list (in this case Foo::Bar).
In Section
Seekers of Perl Wisdom
|
|