You can use Config::Loader Config::Merge with your data contained in different files, in a directory tree. Config::Loader Config::Merge will do the work of loading them into a hash.
Or are you wanting to be able to access the same data via a hash deref or via a function call, in which case you want to use overload.
Clint
Update: Changed the module name to its new name
In reply to Re: Encapsulate function and variables
by clinton
in thread Encapsulate function and variables
by nictam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |