I need to install files with my CPAN drive that are not Perl. Where should I say at what distance? and what's the best way to refer to them from inside the module so that I have access to them regardless of user configuration?
Well, you do not quite understand what these files are and how they are used, but you are probably looking for File :: ShareDir .
File :: ShareDir only cares about access to files from your module while working. The method of installing files installed with your module depends on the installation system you are using:
If you use Dist :: Zilla , you use its ShareDir , which has an undocumented dir parameter, which is share by default.
dir
share
For Module :: Build you use share_dir .
For Module :: Install, you use install_share .
ExtUtils :: MakeMaker does not have built-in support, but you can use File :: ShareDir :: Install to add it.