bikeNomad and I ran into this in his Class::Prototyped. The problem is indeed @ISA caching, and (to my knowledge) it wasn't fixed in 5.6.1. My workaround is:
delete ${"$package\::"}{'::ISA::CACHE::'};where $package is the name of the package containing the modified @ISA. Of course, you might find that CPAN module interesting...
Update: We ran into the problem while adding to @ISA, so my guess is that any changes are troublesome. It's been a while since I read the source, though.In reply to Re: dynamic inheritance
by chromatic
in thread dynamic inheritance
by steves
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |