Subject: | Devel::InnerPackage includes ::SUPER psedo-stash |
5.10 has done away with the ::::ISA::CACHE pseudo-stash, but 5.8 and up
sometimes instantiate a ::SUPER pseudo-stash. Devel::InnerPackage
should skip both of those. A test showing this is attached.
Subject: | test.pl |
package Foo;
sub whee {
1;
}
package Bar;
use base 'Foo';
sub whee {
shift->SUPER::whee;
2;
}
package main;
use Devel::InnerPackage;
Bar->whee;
print "$_\n" for Devel::InnerPackage::list_packages("Bar");