Inheritance and merging of fieldsby nite_man (Deacon)
|on Jul 25, 2006 at 10:47 UTC||Need Help??|
nite_man has asked for the wisdom of the Perl Monks concerning the following question:
I have a very strange (at least for me) problem with OO Perl. I have following hierarchy of classes:
Class A is base class, class B is a child of A, class C is child of B. Each class has its own list of fields which should be merged in case of object C. It works fine but in one case (it's application specific case, so, I cannot put there the code) when object C is created only its fields are in the %FIELDS.
Does somebody has some idea why it happens?
Thanks in advance.
It's only my opinion and it doesn't have pretensions of absoluteness!