Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Inheritance confusedby exilepanda (Friar) |
on Dec 07, 2015 at 14:22 UTC ( [id://1149580]=note: print w/replies, xml ) | Need Help?? |
Thanks derby,
I just modified my code, and you're right, removed the Parent reference also resolve the problem. However, I have reason to keep the Base object inside {Parent}, as there are other constructors which will be invoked by other methods in Lite class. Since I have the Base reference, then I can make this shareable ( and I need to ) amount other on-the-fly constructed objects. Is there possible to keep my {Parent} ?
In Section
Seekers of Perl Wisdom
|
|