From: Jarkko Hietaniemi Date: Thu, 18 Jul 2002 19:26:50 +0000 (+0000) Subject: Mention the chdir("")/chdir(undef) deprecation. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ff019190b10d1548efb9adf56145a5feb1d2cfef;p=p5sagit%2Fp5-mst-13.2.git Mention the chdir("")/chdir(undef) deprecation. p4raw-id: //depot/perl@17633 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 3e92d3f..f66c126 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, 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,