Perl Class::Struct
am 13.10.2005 12:18:56 von Ed WadgeHi
This may be a real newbie question and covered by a simple FAQ or
something. I have looked and have not found a solution so appologies in
advance if this is the case.
Effectivly this is two seperate questions. The first is to do with over
riding the new() method of Class::Struct. ie can you do it? So that the
Class::Struct original is called and then extra methods carried out
afterwards. I dont think this is inheritance of the kind used with
@ISA.
Second. I have in my object several other objects as members. One of
these contains a function called GetValue(). This seems to be called
every time i use one of the member functions of the top level object
during the $self = shift first line in the function. I cant see the
method mentioned in any Class::Struct documentation.
Thanks for any help you can give.
Ed