Don't ask to ask, just ask | |
PerlMonks |
Re^2: Breaking up a big moduleby LanX (Saint) |
on Apr 25, 2019 at 13:34 UTC ( [id://1232982]=note: print w/replies, xml ) | Need Help?? |
I'd say yes .... ... provided all his calls are already ->method calls and all objects/$self are always blessed into Foo and never into Foo::Bar and his not trying to use SUPER ... In short as long as this approach doesn't lead to multiple inheritance of third party classes. So probably importing is safer.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|