Perl has been one of the cornerstones of bioinformatics and is unlikely to give up this role, simply because so many user-contributed modules are avaiable for it.
Best way to install modules
This clearly cpanm, but it has be installed first. However, this is remarkably easy and does not need the clunky cpan interface:
curl -L https://cpanmin.us | perl - --sudo App::cpanminus
Then to keep account of the modules you have, you can use
And then to actually install the outdated modules, you first have to
cpan-outdated -p | cpanm
New versions of perl follow this configuration before compiling
sh Configure -de -Dprefix=/shelf/modulefiles/tools/perl/5.26.1 -Duseshrplib
As well as installing in the right place, it will also create the perl shared library, which other programs, those who like to sport perl interfaces, might like to use.