The local namespace is for your personal modules and will not be found in CPAN. This is something relatively new. On many sites, you may need CPAN modules not in the current version of Perl, or you need a newer version of a specific module. However, you do not have write access to the standard location where the CPAN modules are installed.
What it is - installing these modules in the $HOME/perl5/lib/local directory where you can access them. You will also need to set the PERL5LIB environment PERL5LIB (usually in startup scripts), so Perl will check this directory when looking for these modules.
If you have sudo privileges, use this to install CPAN modules, rather than trying to do so. Below, the Foo::Bar module will be installed in the standard module directory for you (and, if necessary, make any configuration):
$ sudo cpan install Foo::Bar
If CPAN needs to be configured, it will do it first.
There are complete instructions for performing a local installation :: lib for modules on MetaCPAN . They are pretty clear.
David W.
source share