summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-07-18 19:26:50 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-18 19:26:50 +0000
commitff019190b10d1548efb9adf56145a5feb1d2cfef (patch)
tree4043f95ffcb1e4153078e905c8c68aa541a3840c
parentb03ad8f690c4dcc613a1ec77d747e2d429945b16 (diff)
downloadperl-ff019190b10d1548efb9adf56145a5feb1d2cfef.tar.gz
Mention the chdir("")/chdir(undef) deprecation.
p4raw-id: //depot/perl@17633
-rw-r--r--pod/perldelta.pod13
1 files changed, 13 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 3e92d3fbb7..f66c126528 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -198,6 +198,13 @@ to escape the laboratory has been decommissioned.
=item *
+Using chdir("") or chdir(undef) instead of explicit chdir() is
+doubtful. A failure (think chdir(some_function()) can lead into
+unintended chdir() to the home directory, therefore this behaviour
+is deprecated.
+
+=item *
+
The builtin dump() function has probably outlived most of its
usefulness. The core-dumping functionality will remain in future
available as an explicit call to C<CORE::dump()>, but in future
@@ -2836,6 +2843,12 @@ gives a warning.
=item *
+chdir("") and chdir(undef) now give a deprecation warning because they
+cause a possible unintentional chdir to the home directory.
+Say chdir() if you really mean that.
+
+=item *
+
Two new debugging options have been added: if you have compiled your
Perl with debugging, you can use the -DT [561] and -DR options to trace
tokenising and to add reference counts to displaying variables,