From ec123cb22120042b40ea00fd166bc5b5b07a50f6 Mon Sep 17 00:00:00 2001 From: jonasbn Date: Sun, 25 Nov 2018 14:50:33 +0100 Subject: [PATCH] Minor additions to the documentation on the changes to include path for newer perls --- README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README b/README index 3e47a38..9686cec 100644 --- a/README +++ b/README @@ -4,6 +4,7 @@ NAME SYNOPSIS In your Makefile.PL: (Recommended Usage) + use lib qw(.); # required for Perl 5.26 and newer use inc::Module::Install; # Define metadata @@ -28,7 +29,7 @@ WARNING Please note that while Module::Install pioneered many great ideas in its time, its primary benefits have been better achieved by the authoring tool Dist::Zilla, and its spinoffs Dist::Milla and Minilla. These tools - allow the author to build and maintain distributions with DWIM + allow the author to build and aintain distributions with DWIM convenience, while the distribution is installed directly by ExtUtils::MakeMaker or similar installation tools, avoiding the complexity of bundling the installer. Dist::Zilla additionally has a @@ -37,6 +38,13 @@ WARNING Module::Install for new distributions is therefore discouraged by the maintainers. + From Perl 5.26 the current directory is not included in @INC and + the Makefile.PL will have to be directed to including Module::Install from + the inc/ directory. + + use lib qw(.); # required for Perl 5.26 and newer + use inc::Module::Install; + DESCRIPTION Module::Install is a package for writing installers for CPAN (or CPAN-like) distributions that are clean, simple, minimalist, act in a