This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
perl [2022/08/18 23:05] root |
perl [2022/09/14 15:25] (current) root |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Perl ==== | ==== Perl ==== | ||
- | Perl can be accessed by modules (currently 5.24.0, | + | Perl can be accessed by modules (currently 5.24.0, |
< | < | ||
Line 8: | Line 8: | ||
</ | </ | ||
- | 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 '' | + | To install your own perl modules |
< | < | ||
- | mkdir -p ~/ | + | c1715: |
- | module load perl/5.36.0 gcc/ | + | c1715: |
+ | # a more modern c compiler, c compiler only needed at install time | ||
- | source / | + | c1715: |
+ | #perl module, both install and run time | ||
- | perl -MCPAN -Mlocal::lib -e ' | + | c1715:rfeynman:$ cpanm YAML::Syck |
...lots of output hopefully ending with... | ...lots of output hopefully ending with... | ||
/bin/make install | /bin/make install |