Overview

Perl is a general-purpose interpreted programming language, originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and bioinformatics.

Perl on Rivanna

The default Perl is required for system purposes and is generally too old for applications. We offer more recent versions of Perl as modules. To see all available versions, run

module spider perl
Module Version Module Load Command
perl 5.24.0 module load perl/5.24.0

To load the perl/5.24.0 module, run this command:

module load perl/5.24.0

Example SLURM Script

#!/bin/bash
#SBATCH -N 1
#SBATCH -n 1
#SBATCH -t 01:00:00
#SBATCH -o output_filename
#SBATCH -p standard
#SBATCH -A mygroup

module load perl

perl myscript.pl