From: Gurusamy Sarathy Date: Fri, 28 Jan 2000 18:03:28 +0000 (+0000) Subject: document what chdir() without an argument does (from Mark-Jason X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0bfc1ec4be2c76cee8aace7737f6fec3baae5189;p=p5sagit%2Fp5-mst-13.2.git document what chdir() without an argument does (from Mark-Jason Dominus ) p4raw-id: //depot/perl@4925 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 905c444..060bb64 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -539,8 +539,10 @@ previous time C was called. =item chdir EXPR Changes the working directory to EXPR, if possible. If EXPR is omitted, -changes to the user's home directory. Returns true upon success, -false otherwise. See the example under C. +changes to the directory specified by C<$ENV{HOME}>, if set; if not, +changes to the directory specified by C<$ENV{LOGDIR}>. If neither is +set, C does nothing. It returns true upon success, false +otherwise. See the example under C. =item chmod LIST