From: matthewt Date: Thu, 13 Sep 2007 22:24:14 +0000 (+0000) Subject: document more limitations, fix bootstrap docs (CPAN non-reentrant so my original... X-Git-Tag: 1.006009~105 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e423efcef07f7c84f84d0b4f7643c5df51c8b3d8;p=p5sagit%2Flocal-lib.git document more limitations, fix bootstrap docs (CPAN non-reentrant so my original way didn't work) git-svn-id: http://dev.catalyst.perl.org/repos/bast/local-lib/1.000/trunk@3736 bd8105ee-0ff8-0310-8827-fb3f25b6796d --- diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 1c4cc47..9b9a4a6 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -252,11 +252,11 @@ From the shell - To bootstrap if you don't have local::lib itself installed - - $ perl -MCPAN -eshell - cpan> look local::lib + $ perl -MCPAN -eshell # you only need to do this if you don't have a ~/.cpan + cpan> exit + $ 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 @@ -271,6 +271,8 @@ have CPANPLUS installed. Kills any existing PERL5LIB, PERL_MM_OPT or MODULEBUILDRC. +Should probably auto-fixup CPAN config if not already done. + Patches very much welcome for any of the above. =head1 AUTHOR