in reply to using require as c like #include?
and in the main code:Package Cfg::Hash; $Cfg::Hash::HoH={ A => 1 }; 1;
So, just fully qualify your hashes, and it is very easy to find where they are defined. (and strict will not complain).use Cfg::Hash; # provided it can be found warn $Cfg::Hash::HoH->{A};
|
|---|