X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Flocal%2Flib.pm;h=1b030b63d490cc2357e741d95f394d0bc4e3a16c;hb=ea0824e71a82f5e516b93daaf872dc548436f194;hp=d0ffcf432276a9f75d055b0db044ffd2bc0c9563;hpb=730f5dda54489b8b147e115a9b7a5cf4292c5c84;p=p5sagit%2Flocal-lib.git diff --git a/lib/local/lib.pm b/lib/local/lib.pm index d0ffcf4..1b030b6 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -11,7 +11,7 @@ use File::Path (); use Carp (); use Config; -our $VERSION = '1.004007'; # 1.4.7 +our $VERSION = '1.004008'; # 1.4.7 my @KNOWN_FLAGS = (qw/--self-contained/); sub import { @@ -21,7 +21,7 @@ Please see `perldoc local::lib` for directions on using this module. DEATH # Remember what PERL5LIB was when we started - my $perl5lib = $ENV{PERL5LIB}; + my $perl5lib = $ENV{PERL5LIB} || ''; my %arg_store; for my $arg (@args) { @@ -410,7 +410,7 @@ From the shell - export PERL5LIB='/home/username/perl/lib/perl5:/home/username/perl/lib/perl5/i386-linux' export PATH="/home/username/perl/bin:$PATH" -The bootstrapping technique +=head2 The bootstrapping technique A typical way to install local::lib is using what is known as the "bootstrapping" technique. You would do this if your system administrator @@ -452,6 +452,11 @@ You can also pass --bootstrap=~/foo to get a different location - echo 'eval $(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)' >>~/.bashrc +After writing your shell configuration file, be sure to re-read it to get the +changed settings into your current shell's environment. Bourne shells use C<. +~/.bashrc> for this, whereas C shells use C. Replace .bashrc or +.cshrc with the name of the file you wrote above with the echo command. + If you're on a slower machine, or are operating under draconian disk space limitations, you can disable the automatic generation of manpages from POD when installing modules by using the C<--no-manpages> argument when bootstrapping: @@ -784,9 +789,15 @@ section. Many thanks! Patch to add Win32 support contributed by Curtis Jewell . +=head1 COPYRIGHT + +Copyright (c) 2007 - 2009 the local::lib L and L as +listed above. + =head1 LICENSE -This library is free software under the same license as perl itself. +This library is free software and may be distributed under the same terms +as perl itself. =cut