On Thu, 30 Oct 2003, Simon Cozens wrote:

> [EMAIL PROTECTED] (Dave Rolsky) writes:
> > There's a lot of trickery that would need to be involved here, as you
> > can't simply alter @ISA for the specified classes, and I'm not entirely
> > sure how I'll implement it, but that's a separate problem.
>
> Sex.pm does this sort of thing, in case you haven't seen it yet.

Well, sort of.  It messes with the symbol table of the dynamically
constructed "child", which ends up with each parents methods.  I don't
really want to do that.  I want to be able to have any of the intermediate
classes call SUPER::foo() and have it do the right thing, which is my
current stumbling block.

I'm pretty sure that what I want do doesn't exist on CPAN in the form I
want.  Unfortunately, I'm not entirely sure how to even implement it.  I
have it mostly working, except for the SUPER:: part.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to