As an example, the CPAN distribution Scalar-Does-0.006
uses Module::Package
in its Makefile.PL
, and the code for Module::Package
resides in the sub-directory inc
with files like:
inc/Module/AutoInstall.pm
inc/Module/Install/AutoInstall.pm
inc/Module/Install/AutoManifest.pm
inc/Module/Install/Base.pm
...
Question: If I want to use Module::Package
for my own distribution, is there a convenient way to populate the inc
directory with the files my distribution needs? I have Module::Package
installed locally in my perl's site_perl directory.
I can't seem to find the answer in the Module::Package
docs.
Answer: Just create your Makefile.PL
, and running it (i.e. perl Makefile.PL
) will populate the inc
directory.