![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | advanced/ | 2021-05-24 12:16 | - | |
![]() | basic/ | 2021-05-21 09:33 | - | |
[examples]$ which perl
/usr/local/bin/perl
[examples]$ perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 44 registered patches, see perl -V for more detail)
Copyright 1987-2012, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[yshen16@scc-wb3 examples]$
[scc1 ] module avail perl
---------------------------------------------------------------- /share/module.7/programming -----------------------------------------------------------------
perl/5.28.1 (D) perl/5.30.1
Where:
D: Default Module
There are two Perl versions installed on SCC as module, Perl/5.28.1 and Perl/5.30.1. There are many extra packages installed within these two Perl modules that provide more functions which are not available in system Perl. This is usually the reason you will need to use one of them instead of using the system Perl. For example, to use Perl 5.28.1, you may load:
[scc1 ] module load perl/5.28.1
[scc1 ] perl -h
[scc1 ] perldoc -h
[scc1 ] perldoc -f print
At the end, you can use 'q' key to exit from the help screen.