[Bast-commits] r3735 - local-lib/1.000/trunk/lib/local

matthewt at dev.catalyst.perl.org matthewt at dev.catalyst.perl.org
Thu Sep 13 23:15:59 GMT 2007


Author: matthewt
Date: 2007-09-13 23:15:59 +0100 (Thu, 13 Sep 2007)
New Revision: 3735

Modified:
   local-lib/1.000/trunk/lib/local/lib.pm
Log:
fix File::HomeDir invocation, document limitations

Modified: local-lib/1.000/trunk/lib/local/lib.pm
===================================================================
--- local-lib/1.000/trunk/lib/local/lib.pm	2007-09-13 22:03:30 UTC (rev 3734)
+++ local-lib/1.000/trunk/lib/local/lib.pm	2007-09-13 22:15:59 UTC (rev 3735)
@@ -90,7 +90,7 @@
       if (defined $user) {
         File::HomeDir->users_home($user);
       } else {
-        File::HomeDir->my_homedir;
+        File::HomeDir->my_home;
       }
     } else {
       if (defined $user) {
@@ -252,11 +252,27 @@
 
 To bootstrap if you don't have local::lib itself installed -
 
-  perl -MCPAN -eshell
+  $ perl -MCPAN -eshell
   cpan> look local::lib
   $ perl Makefile.PL --bootstrap
   $ make test && make install
+  cpan> exit
+  $ echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc
 
+You can also pass --boostrap=~/foo to get a different location (adjust the
+bashrc line appropriately)
+
+=head1 LIMITATIONS
+
+No support for non-bourne shells.
+
+Bootstrap is a hack and will use CPAN.pm for ExtUtils::MakeMaker even if you
+have CPANPLUS installed.
+
+Kills any existing PERL5LIB, PERL_MM_OPT or MODULEBUILDRC.
+
+Patches very much welcome for any of the above.
+
 =head1 AUTHOR
 
 Matt S Trout <mst at shadowcat.co.uk> http://www.shadowcat.co.uk/




More information about the Bast-commits mailing list