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};
In reply to Re: using require as c like #include?
by mce
in thread using require as c like #include?
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |