![if gte IE 9]> <![endif]>
perlbrew is an admin-free perl installation management tool. The latest version is 0.97, read the release note: Release 0.97.
For a quick installation, do this:
\curl -L https://install.perlbrew.pl | bash
Check the document of Installation for more descriptions and options.
After installing perlbrew itself, now it is time to install some versions of perl
To install the latest stable release, and use it as default in the current shell and in all future shell sessions.
perlbrew install perl-5.36.1 perlbrew switch perl-5.36.1
To play with the bleeding-edge version, but only in the current shell:
perlbrew install perl-blead perlbrew use perl-blead
myprogram.pl against all installations of perl, especially helpful when running tests:
perlbrew exec perl myprogram.pl
For basic usage cheatsheet:
For more descriptions about commands,
perlbrew is a tool to manage multiple perl installations in your
$HOME directory (or wherever you specify). They are completely
isolated perl universes, and has no relationship with system perl, or
between each others.
This approach has many benefits:
sudoto install CPAN modules, any more.
You may optionally chose alternative places for installation, or even let multiple uses share the whole perlbrew environment.
perlbrew has always been improving, it is an open source project for everyone to participate. There are currently over 145 contributors and growing. The code repository is located on github. Feel free to send a bug report, a pull request, or a beer. Everything helps :)