I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-01-17 23:42:54-08 by je44ery
:Restricted methods imported into child classes?
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?
Direct Responses: 1637 | Write a response