in reply to Re^2: Multiple Inheritance - Howto marry tie::refhash::nestable with class::singleton
in thread Multiple Inheritance - Howto marry tie::refhash::nestable with class::singleton
... multiple inheritance ..."Multiple inheritance" is almost always the wrong answer to any question. You can only inherit from classes that are compatible with each other, perhaps even specifically designed to be used as a "mixin" class. You discovered two that don't play well together, so the answer is "you can't do that there".
Therefore I need a dynamic - and not a static - global data structure.There's nothing preventing any part of your code from updating the data structure. The initialization will be executed on the first "use", but then anyone is free to change it. In fact, that's my beef with that! Anyone can change it! Good luck tracking down bugs.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Multiple Inheritance - Howto marry tie::refhash::nestable with class::singleton
by hoppfrosch (Scribe) on May 31, 2005 at 14:12 UTC |