X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Flocal%2Flib.pm;h=ab6bde7c855fee269c18c62ffc1b6d4517ce3c37;hb=e681beb3b2f0ce76d9964c19e1e085ead3738559;hp=7f1d4069c2de4688ed9b97b2355e47b87d878c0c;hpb=b75c7320f7269038068ebb2ebf31141dfd10a680;p=p5sagit%2Flocal-lib.git diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 7f1d406..ab6bde7 100755 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -11,7 +11,7 @@ use File::Path (); use Carp (); use Config; -our $VERSION = '1.006001'; # 1.6.1 +our $VERSION = '1.006005'; # 1.6.5 our @KNOWN_FLAGS = qw(--self-contained); @@ -369,8 +369,6 @@ ok(-f 't/var/splat/.modulebuildrc'); local::lib - create and use a local lib/ for perl modules with PERL5LIB -L - =head1 SYNOPSIS In code - @@ -407,6 +405,8 @@ environment variables, as discussed in step 4. Without this, you would still install the modules into the system CPAN installation and also your Perl scripts will not use the lib/ path you bootstrapped with local::lib. +By default local::lib installs itself and the CPAN modules into ~/perl5. + Windows users must also see L. 1. Download and unpack the local::lib tarball from CPAN (search for "Download" @@ -421,8 +421,8 @@ convenient location. If the system asks you whether it should automatically configure as much as possible, you would typically answer yes. -In order to install local::lib into a directory other than default, you need -to give that directory on the call of bootstrap like this: +In order to install local::lib into a directory other than the default, you need +to specify the name of the directory when you call bootstrap, as follows: perl Makefile.PL --bootstrap=~/foo @@ -718,6 +718,12 @@ install UNINST=1" and local::lib if you understand these possible consequences. =head1 LIMITATIONS +The perl toolchain is unable to handle directory names with spaces in it, +so you cant put your local::lib bootstrap into a directory with spaces. What +you can do is moving your local::lib to a directory with spaces B you +installed all modules inside your local::lib bootstrap. But be aware that you +cant update or install CPAN modules after the move. + Rather basic shell detection. Right now anything with csh in its name is assumed to be a C shell or something compatible, and everything else is assumed to be Bourne, except on Win32 systems. If the C environment variable is @@ -766,6 +772,12 @@ On Win32 systems, C is also examined. =back +=head1 SUPPORT + +IRC: + + Join #local-lib on irc.perl.org. + =head1 AUTHOR Matt S Trout http://www.shadowcat.co.uk/ @@ -777,7 +789,8 @@ auto_install fixes kindly sponsored by http://www.takkle.com/ Patches to correctly output commands for csh style shells, as well as some documentation additions, contributed by Christopher Nehren . -Doc patches for a custom local::lib directory contributed by Torsten Raudssus +Doc patches for a custom local::lib directory, more cleanups in the english +documentation and a german documentation contributed by Torsten Raudssus . Hans Dieter Pearcey sent in some additional tests for ensuring @@ -802,7 +815,7 @@ David Mertens (run4flat). =head1 COPYRIGHT -Copyright (c) 2007 - 2009 the local::lib L and L as +Copyright (c) 2007 - 2010 the local::lib L and L as listed above. =head1 LICENSE