X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=INSTALL;h=7a2308d5bc0c07616f4b500f5cff410ebe393b92;hb=63ea1fd0b9fc09452f0e98ea0d0c0ada6e996b9a;hp=8008a6e69fec44815502eb49581456d3ebdcf140;hpb=b800ade1dfef069a0615915ebb1246168c12d15f;p=p5sagit%2FSub-Name.git diff --git a/INSTALL b/INSTALL index 8008a6e..7a2308d 100644 --- a/INSTALL +++ b/INSTALL @@ -8,10 +8,10 @@ If you have cpanm, you only need one line: % cpanm Sub::Name -If you are installing into a system-wide directory, you may need to pass the -"-S" flag to cpanm, which uses sudo to install the module: - - % cpanm -S Sub::Name +If it does not have permission to install modules to the current perl, cpanm +will automatically set up and install to a local::lib in your home directory. +See the local::lib documentation (https://metacpan.org/pod/local::lib) for +details on enabling it in your environment. ## Installing with the CPAN shell @@ -31,9 +31,9 @@ Then install it: % make install -If you are installing into a system-wide directory, you may need to run: - - % sudo make install +If your perl is system-managed, you can create a local::lib in your home +directory to install modules to. For details, see the local::lib documentation: +https://metacpan.org/pod/local::lib ## Documentation