installing architecture dependent modules

  • Thread starter Brandon Metcalf
  • Start date
B

Brandon Metcalf

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/$Config{version}/$Config{archname} and then in scripts
simply say

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 $Config{version} and $Config{archname} that I
might use.

Is this the best approach? Obviously, this keeps the modifying of @INC
very simple, but is there something better?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top