I recently created a new system and wanted to install Padre to test this. Padre installation instructions specifically designed to install local :: lib, so I did it (although I never needed this before). Then I went along the path of installing several other modules, starting CPAN from my regular user account using sudoto process the root parts of the installation.
Then it was time to check out one of the web applications that these modules were necessary for support, and now, apache could not find them. They booted fine from the command line, and a quick look in ~/perl5confirmed my suspicion that local :: lib had captured my CPAN sessions and installed these modules there, and not on the site, despite my CPAN configuration, which included
makepl_arg [INSTALLDIRS=site]
mbuildpl_arg [--installdirs site]
What do I need to do for my CPAN configuration so that the modules are installed on the site, even if the local :: lib is installed? Or will Padre work without him, and can I just delete the local :: lib entirely?
(I don’t want any modules to be installed under ~/perl5unless Padre insists on being there. My development code has its own locations for specific projects, and everything else should be at the whole site level. I don’t need closed location for all users.)
source
share