Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Inheritance and merging of fieldsby nite_man (Deacon) |
on Jul 25, 2006 at 10:47 UTC ( [id://563476]=perlquestion: print w/replies, xml ) | Need Help?? |
nite_man has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
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!
Back to
Seekers of Perl Wisdom
|
|