perlbrew

How can Install multiple Perl versions without them tripping over each other's XS modules?

I would like to install several different versions of perl in my home directory. I tried using App::perlbrew, but XS modules from one version were causing segfaults in the other version. Is there any way to install multiple versions of perl and have them automatically keep their XS modules separate? ...

Building Perl for OS X - Architecture-Specific Compile Options

Thanks to a suggestion from Chas. Owens, I have been having fun playing with Perlbrew to have various Perl builds in my home directory. My question is more generally on building a newer Perl under OS X however. I have OS X 10.6.4 Snow Leopard running on a very recent MacBook Pro. After a small diversion getting gcc properly setup under...

How can I install Perl version under my home using perlbrew?

I have installed perlbrew which seems like a good solution, but I get some meaningless error when actually trying to install some Perl version: $ perlbrew install perl-5.12.1 Attempting to load conf from /home/dave/perl5/perlbrew/Conf.pm Fail to get http://search.cpan.org/dist/perl-5.12.1 (error: ) at /home/dave/perl5/perlbrew/bin/perl...

How do I install CPAN modules while using perlbrew?

I have started using perlbrew and installed perl-5.12.2. I understand I need to re-install my CPAN modules, so I switched to my new perl version (perlbrew switch perl-5.12.2 and hash -r), verified the switch was successful (perl -v) then tried installing some module (File::Copy::Recursive using cpan. However, cpan says `File::Copy::Rec...

How do I install the latest BioPerl version when using perlbrew?

I'm using perlbrew and I would like to install the latest bioperl version. Should I use cpanm or git? If git - do I just install as usual (AKA git clone ... then make and build), or should I do anything special? UPDATE Specifically, I'm not sure I understand the following expert from BioPerl Using Git manual: Tell perl where to fi...

How can I make Eclipse work with `perlbrew`?

I'm using perlbrew to switch between perl versions. I also use Eclipse to write perl scripts. It seems that Eclipse does not recognize the switches between perl versions, and keeps working with the base version installed out of perlbrew. I tried restarting Eclipse but this doen't help. So, How can I make Eclipse work with perlbrew? ...

How can I completely uninstall perlbrew?

I'm lovin' it, but I suspect it causes some problem. I know I can use perlbrew off but I would like to completely remove it. How do I do that? ...

Why does perlbrew fail while installing perl-5.12.2?

When I try to install Perl 5.12.2 with perlbrew, I get an error at the end because the CPANPLUS tests fail. Making utilities make[1]: Entering directory `/home/dave/perl5/perlbrew/build/perl-5.12.2/utils' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/dave/perl5/perlbrew/build/perl-5.12.2/utils' cd t &...

Why won't a module installed by `cpanm` be recognized?

I installed perl-5.12.2 using perlbrew: perlbrew install perl-5.12.2 -D=usethreads -D=useithreads -D=uselargefiles -f I then switched to this version and installed IPC::System::Simple using cpanm. However, when I try to run my script I get: Can't locate IPC/System/Simple.pm in @INC (@INC contains: /home/dave/workspace/proj1/scripts/...

How can I control the Perl version used when submitting grid jobs?

I'm working with SGE (Sun Grid Engine) to submit jobs to a grid. I also use perlbrew to manage my installed Perl versions. I wrote some short sh scripts that I use to run a perl script which requires a specific Perl version (5.12.2), which look something like this: #!/bin/bash #$-S /bin/bash source /home/dave/.bash_profile /home/dave/p...

How do I use perlbrew to manage perl installations aimed at web applications?

I have been using perlbrew to manage multiple versions of perl on a Linux Fedora notebook. I have used it with great benefit to run command-line scripts mostly using App::cmd. I now want to move to running web applications written using CGI::Application using different perls installed in my $HOME. I am familiar with running Perl web ap...

Is there a non-global equivalent of perlbrew?

I'm using perlbrew right now to manage multiple versions of perl, but perlbrew is global. If I do perlbrew switch perl-5.10.1 in any shell, then all shells and scripts will now be using perl version 5.10.1. There is no isolation. Is there any way to make perlbrew switches local to a shell, or is there a similar tool capable of locally ch...

How can I add an externally managed Perl installs to Perlbrew?

I would like to use perlbrew to manage multiple Perl installations on my system. However, in addition to the clean installs from CPAN and the system install, I have a couple of other Perl installs that are tied to specific projects. I would like to be able to switch to these perls as well. For example, if I have /opt/SomeApp/perl/bin/p...