|
Is there anyway to export :Restricted methods from parent classes and import then into child classes? I have a few such methods in child classes that could be refactored back up a level or two in the heirarchy. However, I don't want to call them like:
ParentClass::_restricted_sub(param1);
I would prefer just:
_restricted_sub(param1);
In case I move the sub further up the class heirarchy again. Is there any way to solve this problem, or is perhaps my approach incorrect?
|