Packaging Perl modules with Config files?
config, perl
Solution
If you are using Module::Install, you can use Module::Install::Share and File::ShareDir.
If you are using Module::Build, you may want to use its config_data tool and and a *::ConfigData module.
Problem
I am currently creating a Perl module for in house use. I used ExtUtils::ModuleMaker to generate a build script and skeleton for my Perl module. I would like to include .ini config files that my core modules need to run properly. Where do I put these files so they are installed with my module? What path do I need to use to access these config files across the main and sub modules? P.S. this is the directory frame: ``` |-lib |---Main.pm |---Main |-----subModule1.pm |-----subModule2.pm |-----subModule3.pm |-scripts |-t ```