diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-28 18:03:28 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-28 18:03:28 +0000 |
commit | 0bfc1ec4be2c76cee8aace7737f6fec3baae5189 (patch) | |
tree | 3d52a3bcff3a30fad3c2ce953771e7183256749b /pod/perlfunc.pod | |
parent | f8dbba82d8d4daa10a152121c099318e33dde811 (diff) | |
download | perl-0bfc1ec4be2c76cee8aace7737f6fec3baae5189.tar.gz |
document what chdir() without an argument does (from Mark-Jason
Dominus <mjd@plover.com>)
p4raw-id: //depot/perl@4925
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 905c444e5e..060bb641e9 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -539,8 +539,10 @@ previous time C<caller> 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<die>. +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<chdir> does nothing. It returns true upon success, false +otherwise. See the example under C<die>. =item chmod LIST |