summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod')
-rw-r--r--pod/perl572delta.pod4
-rw-r--r--pod/perldiag.pod10
2 files changed, 14 insertions, 0 deletions
diff --git a/pod/perl572delta.pod b/pod/perl572delta.pod
index 6b0a6446c8..bfe44c46e9 100644
--- a/pod/perl572delta.pod
+++ b/pod/perl572delta.pod
@@ -100,6 +100,10 @@ deprecated. Its semantics were never that clear and its
implementation even less so. If you have used that feature to
disallow all but fully qualified variables, C<use strict;> instead.
+The chdir(undef) and chdir('') behaviors to match chdir() has been
+deprecated. In future versions, chdir(undef) and chdir('') will
+simply fail.
+
=head1 Core Enhancements
In general a lot of fixing has happened in the area of Perl's
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index c0fff95554..7408d2fc1e 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3853,6 +3853,16 @@ if you wish to use an empty line as the terminator of the here-document.
(D deprecated) You are now encouraged to use the shorter *glob{IO} form
to access the filehandle slot within a typeglob.
+=item Use of chdir('') or chdir(undef) as chdir() deprecated
+
+(D deprecated) chdir() with no arguments is documented to change to
+$ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this
+behavior, but that has been deprecated. In future versions they
+will simply fail.
+
+Be careful to check that what you pass to chdir() is defined and not
+blank, else you might find yourself in your home directory.
+
=item Use of implicit split to @_ is deprecated
(D deprecated) It makes a lot of work for the compiler when you clobber