On 28/10/02 12:13 -0500, Mitchell N Charity wrote:
> Ok, here is the problem.
> 
> If you "perl -MCPAN -e shell;", and "test Inline::WebChat", but don't
> have its prerequisite WWW::Chat::Processor, then CPAN will helpfully
> download and build that as well.
> 
> It passes the location of the built prerequisite module in PERL5LIB.
> Eg, with entries like /foo/.cpan/build/webchat-0.64/blib/arch .
> 
> But in Inline.pm, sub create_config_file wipes out PERL5LIB.
>   local $ENV{PERL5LIB} if defined $ENV{PERL5LIB};
> 
> So when Inline/WebChat.pm starts loading, and requires
> WWW::Chat::Processor, it fails to find it.
> 
> If one comments out the local()ization,
>   #local $ENV{PERL5LIB} if defined $ENV{PERL5LIB};
> then both Inline::TT and Inline::WebChat no longer have this install
> problem.

ok

> At this point in the release cycle, I strongly suggest _not_ fixing this,
> given that we're well into "no non-critical changes" phase on 0.44.
> Document it as a known bug, and we'll get it later.  Users can install
> the underlying non-Inline module first, or use "force".

I agree. We don't know what it will break. I'll add this to my ToDo list.

Cheers, Brian

Reply via email to