populate @INC as well as $ENV{PERL5LIB}
matthewt [Thu, 13 Sep 2007 22:00:46 +0000 (22:00 +0000)]
git-svn-id: http://dev.catalyst.perl.org/repos/bast/local-lib/1.000/trunk@3732 bd8105ee-0ff8-0310-8827-fb3f25b6796d

lib/local/lib.pm

index 2fa8a06..2b57eb0 100644 (file)
@@ -135,6 +135,7 @@ sub setup_local_lib_for {
     exit 0;
   } else {
     $class->setup_env_hash_for($path);
+    unshift(@INC, split(':', $ENV{PERL5LIB}));
   }
 }