|Do you know where your variables are?|
Building a local perl to use the system perl's libraries as a fallbackby clueless newbie (Chaplain)
|on Nov 30, 2012 at 13:27 UTC||Need Help??|
clueless newbie has asked for the
wisdom of the Perl Monks concerning the following question:
Assume I'm installing Ubuntu 12.10 which comes with perl 5.14.2. From the package manager I supposedly can install Devel::ptkdb and Padre. (Note: I tried previously to install both padre and Devel::ptkdb via CPAN unsuccessfully.) Since I don't want to break the system's perl I'll also use the package manager to install perlbrew.
Using perlbrew I want to install another copy of perl 5.14.2 (call it local perl) but I want it to use the system perl's libraries as a fallback so its @INC would look like
so that local perl can make use of system perl Tk, PPI etc.
Googling suggests that I can use perlbrew's --sitecustomize switch to do this.
Does this seem reasonable? Comments and suggestions welcome!