Unlike Python and Java, Perl does not provide an interactive console. But it is possible to execute Perl command in your shell. For running the command print "Hello\n" in a shell, you need to call perl -e.
[sfux@eu-login-05 ~]$ module load new gcc/4.8.2 perl/5.16.3 Now run 'perl-init' to initialize your environment for Perl [sfux@eu-login-05 ~]$ perl-init [sfux@eu-login-05 ~]$ perl -e 'print "Hello\n";' Hello [sfux@eu-login-05 ~]$
There are some additional Perl packages, which provide an interactive Perl console, but they are not fully supported on our clusters.