Inheritance only works for method calls, but what you do is a subroutine call.
This should work intead:
sub run { my $self = shift; $self->_dosomething; ... }
Or you can directly call one::_dosomething, but then there's no need for inheritance in the first place.
In reply to Re: Method inheritance
by moritz
in thread Method inheritance
by alafarm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |