sub new { my $class = shift; ... my $self = $class->_underthehood(); ... } sub _underthehood { my $class = shift; die "subclass responsibility"; }
In reply to Re: Inheritance and calling a subclass method *from* a baseclass method...
by merlyn
in thread Inheritance and calling a subclass method *from* a baseclass method...
by EvanK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |