more useful options | |
PerlMonks |
Re: [parrot] parrot prototype OO?by chromatic (Archbishop) |
on Feb 05, 2008 at 19:08 UTC ( [id://666383]=note: print w/replies, xml ) | Need Help?? |
It's difficult to say what's going on without seeing code, but if I were to do this, I'd write a Prototype PMC in PIR that subclasses the Class PMC and overrides find_method(). You can also override its add_parent() when you clone an instance, so that the new instance can look back to its parent for non-overridden methods.
In Section
Seekers of Perl Wisdom
|
|