From: Chris Nehren Date: Mon, 3 Jan 2011 04:54:13 +0000 (-0500) Subject: add PERL_LOCAL_LIB_ROOT to get along better with CPAN.pm. X-Git-Tag: 1.008004~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4de8082430a08b7365387abd7d42830d53dac659;p=p5sagit%2Flocal-lib.git add PERL_LOCAL_LIB_ROOT to get along better with CPAN.pm. --- diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 27f0415..ee0bbd3 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -316,6 +316,7 @@ sub setup_env_hash_for { sub build_environment_vars_for { my ($class, $path, $interpolate) = @_; return ( + PERL_LOCAL_LIB_ROOT => $path, PERL_MB_OPT => "--install_base ${path}", PERL_MM_OPT => "INSTALL_BASE=${path}", PERL5LIB => join($Config{path_sep},