The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This doesn't work, since $self = Tie::RefHash::Nestable->TIEHASH($self, $class); returns a Tie::RefHash::Nestable-object - but what I want to get back is a GlobalHash object ...
By reblessing the $self object into the GlobalHash class you would be able to return its object as shown below, wouldn't you? bless $self, 'GlobalHash'; return $self; In reply to Re: Multiple Inheritance - Howto marry tie::refhash::nestable with class::singleton
by GoCool
|
|