[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl modules

From: Russ Allbery
Subject: Re: perl modules
Date: Wed, 18 Dec 2013 15:47:41 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Harlan Stenn <address@hidden> writes:

> As part of the build and check process I want to run a generated perl
> script that needs a module that I'll also be installing.  This means
> that the module we want to use might not be installed, or the installed
> copy might be an old copy.  We'll need to run the script in the build
> tree and have it pick up the module we'll be installing.

> I could use the PERL5LIB envariable and export that in the buld
> Makefiles.  I'm not sure this will always work, but I just have an
> intuitive concern about this.

> I don't think I can use -I parameters to fix this because it would
> require modifying the generated scripts.

I would try first to run the script explicitly with perl -I parameters,
and if the mechanisms are such that this doesn't work, I'd use PERL5LIB.
In other words, I think you've found the best solutions that are available
at the moment.

Russ Allbery (address@hidden)              <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]