On Tue, Sep 30, 2008 at 3:18 PM, Hans Dieter Pearcey
<[EMAIL PROTECTED]> wrote:
> On Tue, Sep 30, 2008 at 12:12:22PM -0700, Bill Ward wrote:
>> So I don't like auto-install.
>
> is someone stopping you from turning it off?
>
> are you aware of the prerequisites_policy for CPAN.pm, or whatever its 
> analogue
> is for CPANPLUS?

That's not what he's talking about.  He's talking about modules that
bundle Module::AutoInstall -- which runs CPAN.pm or CPANPLUS in a
subshell during "make" to install dependencies.

Newer versions of it look for $ENV{PERL5_CPANPLUS_IS_EXECUTING} and
$ENV{PERL5_CPAN_IS_EXECUTING} and defer to CPAN.pm or CPANPLUS to
handle prerequisites, but older versions that are bundled with some
modules thanks to Module::Install don't recognize those.

NB. And, of course, there was an intermediate version of
Module::AutoInstall that only looked for PERL5_CPANPLUS_IS_EXECUTING
and not the CPAN one, so more recent versions of CPAN.pm set both
environment variables to try to stop Module::AutoInstall from doing
its dirty work whenever possible.

-- David

Reply via email to