If the "risky" methods are used in the parent class, the inheriting child class may die unexpectedlyI agree with everything above, except the word unexpectedly. Yes, it will die. On purpose. Because the OP does not want those methods be callable. And if the Parent class calls those subs as methods, it's calling them on objects of type Child. Which the OP doesn't want. Hence death.
In reply to Re^3: Inherit only few methods from a parent class
by JavaFan
in thread Inherit only few methods from a parent class
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |