perlbrew is a program to automate the building and installation of multiple versions of Perl in your $HOME directory.
Questions tagged [perlbrew]
148 questions
46
votes
3 answers
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…

David B
- 29,258
- 50
- 133
- 186
23
votes
5 answers
perlbrew and local::lib at the same time?
So far I have been using the system perl (on Ubuntu 10.10) and I was using local::lib to install CPAN modules in my private directory ~/perl5
As I am trying to use perlbrew it seems that they don't know about each other. I installed perl-5.12.3…

szabgab
- 6,202
- 11
- 50
- 64
20
votes
1 answer
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?

David B
- 29,258
- 50
- 133
- 186
16
votes
2 answers
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…

Gurunandan Bhat
- 3,544
- 3
- 31
- 43
14
votes
2 answers
Switching to the system Perl using perlbrew
First, some background.
perlbrew is a tool to assist with the installation of Perl into a non-standard directory (usually under your home directory).
It also helps you control which Perl installation is used when executing perl in an interactive…

ikegami
- 367,544
- 15
- 269
- 518
13
votes
4 answers
dyld: Library not loaded: libperl.dylib Referenced from: perl5.18
Im getting dyld library not found error in my xcode.
dyld: Library not loaded:
/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/libperl.dylib
Referenced from: /usr/bin/perl5.18
So I tried to reinstall perl as following.But i got the…
user6517192
10
votes
1 answer
How can I move PERLBREW_ROOT to another directory?
I use perlbrew to manage my Perl environment.
When I installed perlbrew the first time as per the documentation, it installed everything to ~/perl5/perlbrew, which I now find undesirable.
The documentation states:
The directory ~/perl5/perlbrew…

jottr
- 3,256
- 3
- 29
- 35
9
votes
1 answer
Using perlbrew to build a perl with debugging symbols
I'm trying to track down a segmentation fault that I've been able to isolate to just a few lines of code on different versions of Perl. I use perlbrew to manage my various versions for development and testing, but it doesn't build perl with…

mpeters
- 4,737
- 3
- 27
- 41
8
votes
4 answers
Moving / cloning a perlbrew installed perl plus all the additional cpan modules
I am using perlbrew. I have installed lots of cpan modules under perlbrew perl-5.20.2.
Is there a way (or what is the best way) to do a tarball installation of my perl-5.20.2 plus all the CPAN modules that I have installed under perlbrew so that I…

Hamster
- 680
- 7
- 23
8
votes
5 answers
Why is Perl usually installed without thread support?
Perlbrew installs per default Perl without thread support. Is this just a legacy habit or could a Perl installation with thread support generate problems?

Matteo
- 14,696
- 9
- 68
- 106
7
votes
2 answers
Running a Perl script from crontab when you use Perlbrew
I have tried the following and find it to work. This is done with a non-privileged user. First find out where your perl command is:
# which perl
Then check the value of PERL5LIB:
# echo $PERL5LIB
Then, at the crontab file of the user, do something…

Javier Elices
- 2,066
- 1
- 16
- 25
7
votes
3 answers
Does perlbrew work with cygwin?
Searching the web, I have found almost no evidence that perlbrew works on cygwin. The specifics of my current issue are:
With the latest install of cygwin (which includes perl 5.14.2), I'm trying to install perl-5.14.2 using the latest perlbrew,…

jrw32982
- 608
- 5
- 11
7
votes
2 answers
Does perlbrew work on Windows?
Using ActiveState 5.8.8 on Windows XP, I would like to install a more recent Perl for testing/migration.

Bill Ruppert
- 8,956
- 7
- 27
- 44
6
votes
1 answer
Perlbrew failed building 5.28.2 with apparently no failures
I'm relatively new to perl and not used to having to build a development tool. I tried to build 5.28.2 and it failed with the following:
Test Summary Report
-------------------
porting/libperl.t (Wstat:…

Coltrane58
- 317
- 1
- 4
6
votes
2 answers
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…

David B
- 29,258
- 50
- 133
- 186