in reply to Re^10: Introducing Class::InsideOut
in thread Introducing Class::InsideOut
You are right, thanks for pointing it out. You have the general problem that SUPER isn't guaranteed to pick up the right class with multiple inheritance.
While I don't see reblessing as evil, (what is the big problem?) I avoid it where possible. It's ugly and looks like you can't make up your mind. I guess I could come up with an alternative universal ->new that doesn't re-bless foreign objects, but that's the problem with this discussion.
We're comparing the solid Class::InsideOut with some not-yet-written counter-example of mine. I can wriggle out of any argument by redefining the example. For the moment, if you don't mind, I'd rather give it a rest until there is something more concrete to discuss. It's been instructive so far.
Anno
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Introducing Class::InsideOut
by adrianh (Chancellor) on Feb 19, 2006 at 14:51 UTC |