So, I'd like to have multiple versions of perl installed on my system,
for testing stuff, poking around, etc. It's not really that difficult,
actually - you just arrange that they have different @INC directories
(or that they overlap in the ways you want them to), and you make
/usr/bin/perl point as a symlink to whichever version you want to use
regularly (probably 5.6.1).
Here's what I think I'd have, creating a few fink packages to manage
things for me:
* /usr/bin/perl5.6.0 - Apple's perl, unmodified, @INC is:
* /sw/bin/perl5.6.1 - fink-installed 'perl5.6' package, @INC is:
* /sw/bin/perl5.8.0 - fink-installed 'perl5.8' package, @INC is:
* /sw/bin/perl5.8.0threaded - fink-installed 'perl5.8threaded' package
with -Dusethreads, @INC is:
Does anyone have comments on the above scheme?
The tough bit is that they all want to install scripts (perldoc, h2xs,
etc.) and man pages to the same place, and in order to avoid clobberage
I'd like to keep the overlap to a minimum. Maybe I can use fink
"splitoffs" for the two 5.8 variants, but I'm not sure what to do about
the scripts & docs for 5.6 vs. 5.8.