Hi,
At the moment, I'm doing: my $temp_obj = bless {}; in a childs SUPER class
to create an object of SUPER's type that I can then use to call methods
like: $temp_obj->method_two(); This ensures that when method_two does a
$self = shift; and uses $self to call methods that exists in both the child
and it's SUPER (I'm overriding methods), the SUPER's methods are called.
This seems like a REALLY slow and inellegant way of doing things. Is there a
better one? I want to avoid creating two objects (or possibly more if I'm
chaining calls up the heirarchy).
Also - this relates to the problem above...
How do I create methods that will chain react all the way up the class
heirarchy. $self->SUPER:: seems like it will only work once because it calls
the childs SUPER and if the SUPER calls $self->SUPER:: it's simply referring
to itself. (or am I completelly messed up?)
Thanks!!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]