Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Brandon Metcalf
March 3, 2005, 1:17 am
rate this thread
I'm reposting this since the same post I made on 2/24 didn't seem to
make it out to the world.
I'm currently compiling several modules under different versions of Perl
and on different architectures. It looks like more recent versions of
Perl (as of 5.6.0 ?) I can simply drop these modules in
/path/to/perllibs/$Config0.6/$Config and then in scripts
use lib '/path/to/perlibs';
and Perl will modify @INC appropriately.
Of course, this will require compiling the modules (which probably needs
to be done anyway since some of them include binaries) for all the
different combinations of $Config0.6 and $Config that I
Is this the best approach? Obviously, this keeps the modifying of @INC
very simple, but is there something better?
- » FAQ 7.28 How can I use a variable as a variable name?
- — Previous thread in » PERL Discussions