From: matthewt Date: Thu, 13 Sep 2007 22:00:46 +0000 (+0000) Subject: populate @INC as well as $ENV{PERL5LIB} X-Git-Tag: 1.006009~109 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9c6b7ff8615f840afbaea2907494872acc2ce1c;p=p5sagit%2Flocal-lib.git populate @INC as well as $ENV{PERL5LIB} git-svn-id: http://dev.catalyst.perl.org/repos/bast/local-lib/1.000/trunk@3732 bd8105ee-0ff8-0310-8827-fb3f25b6796d --- diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 2fa8a06..2b57eb0 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -135,6 +135,7 @@ sub setup_local_lib_for { exit 0; } else { $class->setup_env_hash_for($path); + unshift(@INC, split(':', $ENV{PERL5LIB})); } }