From 0bfc1ec4be2c76cee8aace7737f6fec3baae5189 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Fri, 28 Jan 2000 18:03:28 +0000 Subject: document what chdir() without an argument does (from Mark-Jason Dominus ) p4raw-id: //depot/perl@4925 --- pod/perlfunc.pod | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pod') 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 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 -- cgit v1.2.1