|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Method inheritanceby moritz (Cardinal) |
| on May 11, 2012 at 17:21 UTC ( #970062=note: print w/ replies, xml ) | Need Help?? |
|
Inheritance only works for method calls, but what you do is a subroutine call. This should work intead:
Or you can directly call one::_dosomething, but then there's no need for inheritance in the first place.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||