[Chicago-talk] Installing another Perl on same box

brian d foy brian.d.foy at gmail.com
Tue May 2 09:00:01 PDT 2006


Hey Jay,

I've run into nothing but problems making two different perls look at
the same module tree. It might seem to work at first, then I upgrade
some module that replaces another module and things don't work
anymore. Trying to make the same Perl module directories work with
incompatible binaries turns out to be a headache.

Having said that, making sure both perls have all the modules they
need can be a smaller headache. You can use CPAN.pm to create a bundle
file of all the installed modules, then use that with the other perl
to install them. In this case, you have to explicitly use perl on the
command line to let cpan(1) know which Config.pm it needs (and other
things):

    % /usr/bin/perl5.8.4-threaded cpan -a


More information about the Chicago-talk mailing list