This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
INSTALL: add entry for -Ddefault_inc_excludes_dot
authorDavid Mitchell <davem@iabyn.com>
Fri, 24 Mar 2017 08:48:32 +0000 (08:48 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 24 Mar 2017 08:48:32 +0000 (08:48 +0000)
INSTALL

diff --git a/INSTALL b/INSTALL
index 2b78d4b..6ff0ebe 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -740,6 +740,16 @@ present, at run time.  Of course, you can still search other @INC
 directories ahead of those in APPLLIB_EXP by using any of the standard
 run-time methods: $PERLLIB, $PERL5LIB, -I, use lib, etc.
 
 directories ahead of those in APPLLIB_EXP by using any of the standard
 run-time methods: $PERLLIB, $PERL5LIB, -I, use lib, etc.
 
+=item default_inc_excludes_dot
+
+Since version 5.26.0, default perl builds no longer includes C<'.'> as the
+last element of @INC. The old behaviour can restored using 
+
+       Configure -Ddefault_inc_excludes_dot=n
+
+Note that this is likely to make programs run under such a perl
+interpreter less secure.
+
 =item usesitecustomize
 
 Run-time customization of @INC can be enabled with:
 =item usesitecustomize
 
 Run-time customization of @INC can be enabled with: