add lib::core::only module
[p5sagit/local-lib.git] / lib / local / lib.pm
index 8c38bc6..5764ce8 100644 (file)
@@ -11,7 +11,7 @@ use File::Path ();
 use Carp ();
 use Config;
 
-our $VERSION = '1.005000'; # 1.5.0
+our $VERSION = '1.005001'; # 1.5.1
 my @KNOWN_FLAGS = (qw/--self-contained/);
 
 sub import {
@@ -49,7 +49,7 @@ DEATH
     }
   }
 
-  if($arg_store{self-contained}) {
+  if($arg_store{'self-contained'}) {
     # The only directories that remain are those that we just defined and those
     # where core modules are stored.  We put PERL5LIB first, so it'll be favored
     # over privlibexp and archlibexp
@@ -397,8 +397,8 @@ In code -
 
 From the shell -
 
-  # Install LWP and its missing dependencies to the 'my_lwp' directory
-  perl -MCPAN -Mlocal::lib=my_lwp -e 'CPAN::install(LWP)'
+  # Install LWP and its missing dependencies to the '~/perl5' directory
+  perl -MCPAN -Mlocal::lib -e 'CPAN::install(LWP)'
 
   # Install LWP and *all non-core* dependencies to the 'my_lwp' directory 
   perl -MCPAN -Mlocal::lib=--self-contained,my_lwp -e 'CPAN::install(LWP)'