in reply to Re: code ref
in thread code ref

no clean methodology to data inheritance

Abigail-II's inside out objects trick is one solution to this. I'm still not sure if this is extremely elegant or an evil hack (or both :-)

Bring on perl6 - hopefully it will make OO vaguely sane!

Replies are listed 'Best First'.
Re^3: code ref
by Aristotle (Chancellor) on Nov 11, 2002 at 15:06 UTC
    It's an elegant hack. I was aware of it, but I don't like it: it relies on the stringified value of references which you're always advised to avoid. Yet it is necessary if you want to encapsulate fully, since there's simply no alternative way to do that in Perl 5.

    Makeshifts last the longest.