is probably better in your specific case.BEGIN { print "$_ => $Foo::{$_}\n" foreach keys %Foo::; }
Anyway, my guess at what's going wrong is that base is trying to be clever in a way that you don't expect.
Since you're defining the packages in the same file, just drop the use base and do:
package Foo::Bar; our @ISA = 'Foo';
In reply to Re: Packages and symbol tables
by Joost
in thread Packages and symbol tables
by johnnywang
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |