[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

This is an old revision of the document!


Table of Contents

Perlbrew at ÚFAL

Perlbrew is a great tool for switching different versions of perl.
I've created a new shared ÚFAL repository of Perl modules using Perlbrew as a substitute of the old PERLREPO.

Martin Popel

How to setup the Perlbrew environment

In your ~.bashrc:

source /net/work/projects/perlbrew/init
eval "$(bash-complete setup)"

The second line is optional, but it enables Bash Completion for perlbrew, cpanm and treex.

How to use Perlbrew

perlbrew list               # Which perl versions are installed?
perlbrew use perl-5.16.3    # use one of these perls for the current shell
perlbrew switch perl-5.16.3 # use this perl version permanently

[ Back to the navigation ] [ Back to the content ]