This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Mention $ENV{SYS$LOGIN} in chdir() documentation, as suggested
authorAbhijit Menon-Sen <ams@wiw.org>
Sun, 23 Sep 2001 07:11:46 +0000 (07:11 +0000)
committerAbhijit Menon-Sen <ams@wiw.org>
Sun, 23 Sep 2001 07:11:46 +0000 (07:11 +0000)
by Blair Zajac.

p4raw-id: //depot/perl@12154

pod/perlfunc.pod

index 2c198c1..340e15c 100644 (file)
@@ -560,11 +560,12 @@ previous time C<caller> was called.
 
 =item chdir EXPR
 
-Changes the working directory to EXPR, if possible.  If EXPR is omitted,
+Changes the working directory to EXPR, if possible. If EXPR is omitted,
 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>.
+changes to the directory specified by C<$ENV{LOGDIR}>. (Under VMS, the
+variable C<$ENV{SYS$LOGIN}> is used instead.) If neither is set,
+C<chdir> does nothing. It returns true upon success, false otherwise.
+See the example under C<die>.
 
 =item chmod LIST