in reply to Re^7: perl inheritance
in thread perl inheritance
I typically have my assignment to @ISA near the top of the file, before any method calls are done. And that never is a problem.
Perl has always tried to invalidate method caches on assignment to @ISA -- although in a dim past, there was a bug preventing this to happen. This was fixed in 5.004 or 5.005. Long enough ago to not care about anymore. Not that method cache has any reason to be relevant here; for that to be relevant, we need to have something like:
|
|---|