NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
What EXACTLY are you trying to do... (Score:1)
@ISA is just an array store used by the default implementation of the ->isa method to determine is something isa something else, and by the method resolved.
If you want to fake being an object, them perhaps just overload ->isa?
Or then there's a Decorator object...
I'm not sure why making objects do weird things needs to involve @ISA.
Reply to This
Re: (Score:2)
It's not that I want to have different instances with different inheritance trees. I just want to know if it can be done. It's a matter of curiosity, that's all.