|
Thanks. I already know about Exporter. The problem lies in how to use it. To import these functions, I'd have to do this:
package ChildClass;
use ParentClass qw(&_func);
But to use Object::InsideOut properly, I should be doing this:
package ChildClass;
use Object::InsideOut qw(ParentClass);
So the two uses conflict with each other. This has made me question my design a bit. It doesn't *seem* wrong to want these private/restricted functions to be available in child classes without fully qualifying the name space. However, I'm not as versed in Perl OO (or general OO) as yourself. I'm not asking for a Perl OO tutorial, but if you could tell me whether my approach is all wrong or not would be appreciated.
This module has been a lifesaver for me. Thanks for all the work.
|