in reply to very simple per-object mixins

Actually, Class::ClassDecorator only runs calls to $foo->super::bar through the AUTOLOAD. Everything else uses either Perl's normal dispatch. And if you use the "decorate" function, you will be using NEXT.pm instead of my hacked up super package. They each have slightly different dispatch semantics, so you can pick the one you like, but either way the vast majority of method calls will use Perl's normal dispatch.

Replies are listed 'Best First'.
Re: Re: very simple per-object mixins
by khkramer (Scribe) on Nov 07, 2003 at 17:06 UTC
    Ahh, thanks for the correction. I (badly) misread your code. But I do quite like your hacked-up super calling convention; seems like it could be quite useful to reorder the inheritance tree in that way.