Perl

Available Versions

Currently, we have a variety of Perl-Versions available. See module av|& grep lang/Perl. All Perl versions provide numerous libraries.

Obtaining Perl Modules from CPAN

This page currently needs a revision: Any ideas are welcome.

We provide a number of Perl modules, e.g. lang/Perl/5.22.1-foss-2017a.

  1. Load an appropriate Perl module, e.g. lang/Perl/5.22.1-foss-2017a
  2. Create a directory, which listens to this perl version in order to avoid a version or module mismatch upon future installs.

Loading a Perl-Module provides you with cpan and cpanm.

# As cpan does not resolve URIs correctly, this step is needed:
export HTTP_PROXY=http://134.93.176.24:8888
# set a directory for the local library install and search path
cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)

This will take a while, but then, you can install into the preconfigured directory just with:

cpanm Module::Name