From: Matt S Trout Date: Wed, 26 May 2010 19:15:07 +0000 (+0100) Subject: doc patch for win32 from run4flat X-Git-Tag: 1.006009~32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flocal-lib.git;a=commitdiff_plain;h=76f30678a4173158aac658808b0a036f97be810a doc patch for win32 from run4flat --- diff --git a/lib/local/lib.pm b/lib/local/lib.pm index eb89cc3..96564d5 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -396,7 +396,9 @@ From the shell - A typical way to install local::lib is using what is known as the "bootstrapping" technique. You would do this if your system administrator hasn't already installed local::lib. In this case, you'll need to install -local::lib in your home directory. +local::lib in your home directory. If you do have administrative priveleges, +you will still want to set up your environment variables, as discussed in +step 4 (and for Windows users, see L). 1. Download and unpack the local::lib tarball from CPAN (search for "Download" on the CPAN page about local::lib). Do this as an ordinary user, not as root @@ -473,6 +475,9 @@ Put this before any BEGIN { ... } blocks that require the modules you installed. =head2 Differences when using this module under Win32 +To set up the proper environment variables for your current session of +C, you can use this: + C:\>perl -Mlocal::lib set MODULEBUILDRC=C:\DOCUME~1\ADMINI~1\perl5\.modulebuildrc set PERL_MM_OPT=INSTALL_BASE=C:\DOCUME~1\ADMINI~1\perl5 @@ -484,7 +489,7 @@ Put this before any BEGIN { ... } blocks that require the modules you installed. ### instead of $(perl -Mlocal::lib=./) If you want the environment entries to persist, you'll need to add then to the -Control Panel's System applet yourself at the moment. +Control Panel's System applet yourself or use L. The "~" is translated to the user's profile directory (the directory named for the user under "Documents and Settings" (Windows XP or earlier) or "Users" @@ -777,6 +782,9 @@ by a patch from Marco Emilio Poleggi. Mark Stosberg provided the code for the now deleted '--self-contained' option. +Documentation patches to make win32 usage clearer by +David Mertens (run4flat). + =head1 COPYRIGHT Copyright (c) 2007 - 2009 the local::lib L and L as