X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=INSTALL;h=98c01b2e8b6e474fd9d9cb519acdb7d1792a8066;hb=b4b1313567f8cf94ad2d0b848d825f68d04a6375;hp=f171741e708cb7462eeff2f9780c35e129e836cf;hpb=2ae317a6ba1cd11c292dc90b345e7299f3662aac;p=p5sagit%2FTry-Tiny.git diff --git a/INSTALL b/INSTALL index f171741..98c01b2 100644 --- a/INSTALL +++ b/INSTALL @@ -8,10 +8,10 @@ If you have cpanm, you only need one line: % cpanm Try::Tiny -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 Try::Tiny +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