Home » OS » Linux » Run multiple versions of Perl from your home directory

Run multiple versions of Perl from your home directory

Run multiple versions of Perl from your home directory using Perlbrew!

One thing to know:  Perl won’t compile if you have an encrypted home directory. 🙁 Bug has been fixed but not exactly how and it hasn’t been put into the Ubuntu updates yet.
Thanks goes to Kang-min Liu for creating Perlbrew!!!! 🙂

The recommended way to install perlbrew is to run these statements in your shell:

curl -LO http://xrl.us/perlbrew
    chmod +x perlbrew
    ./perlbrew install

After that, perlbrew installs itself to ~/perl5/perlbrew/bin, and you should follow the instruction on screen to setup your .bashrc or .cshrc to put it in your PATH.

Share Button

Comments

  1. Thanks, I found this useful when I upgraded Perl and one of my web applications (Sympa) suddenly started throwing segfaults. This was a quick way to bypass the problem.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Facebook login by WP-FB-AutoConnect