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.
Talking to Myself (Score:2)
The closest I've come up with so far is this:
Full power...now sir. (Score:1)
life is short
Re: (Score:2)
Yeah, we were talking about that here at work. It would have solved an annoying little problem here (well, more of a hack to get around some buggy CPAN code).
well... (Score:1)
This would not affect @ISA, though, if you need that to work.
rjbs
why? (Score:1)
Re: (Score:2)
Note the Acme:: prefix on the suggested namespace.
use Moose (Score:1)
Re: (Score:1)
That would be my angle of attack also.
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.
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.