Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: inheritance turns back and bitesby tinita (Parson) |
on Mar 01, 2004 at 13:41 UTC ( [id://332891]=note: print w/replies, xml ) | Need Help?? |
as others said already, in MyNumber, you have implemented the method add different
from the one in SomeData. you have to decide which one you want.
also, in the new method of SomeData, you have a little error.
if you do
In Section
Seekers of Perl Wisdom
|
|