perl
**This is an old revision of the document!**
Perl
Perl can be accessed by modules (currently 5.24.0,5.36.0) or you can install perl through conda python.
module load perl/5.36.0 perl
To install your own perl modules, you will need to tell perl where to put them and look for them in your disk area. For example YAML::Syck, adapted from iu.edu
mkdir -p ~/perl5 #once module load perl/5.36.0 gcc/11.2.1 #it usually works better to have a more modern c compiler source /share/apps/bin/localperl.sh #always **after** loading the perl module perl -MCPAN -Mlocal::lib -e 'CPAN::install(YAML::Syck)' ...lots of output hopefully ending with... /bin/make install -- OK c1715:rfeynman:$ perl -de1 #no error below is good main::(-e:1): 1 DB<2> use YAML::Syck; DB<3> q c1715:rfeynman:$
perl.1660863949.txt.gz · Last modified: (external edit)
