Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Inheritance confusedby exilepanda (Friar) |
on Dec 08, 2015 at 07:03 UTC ( [id://1149646]=note: print w/replies, xml ) | Need Help?? |
Thanks Apero,
The way you suggested can resolve the method calling issue. But this won't able to the make the {Parent} attributes shareable in different constructors in Lite in my case. That said, with my Lite class, I might have where a data dump will give something like: and I don't actually mind if Mode is written into the CommonParentAttributes (thus I don't need CommomParentAttributes at all) , but when $user is created, $admin's Mode will become 'User'
In Section
Seekers of Perl Wisdom
|
|