Perl has some 3rd party modules which are considered core, such as ExtUtil::MakeMaker and Data::Dumper, the full list can be found through the Module::CoreList module.<br />
<br />
CentOS 7 currently installs these modules into the vendorlib path instead of privlib/archlib where they belong. Users of these modules generally have no trouble as they can still be loaded normally, most of the time. In the case of cpanminus, a very common perl module installation tool, this is not the case. Cpanm sandboxes installations for when users want to fatpack dependencies, a common task for application packaging for remote systems. This sandbox only looks for core modules in privlib and archlib, and doesn't find several of them. Due to circular dependencies (core should always be present so this is usually a non-issue), installation fails completely.<br />
<br />
I think the easiest solution here is to not use vendorlib for core modules when packaging perl or it's modules.
↧