summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-20 17:50:38 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-20 17:50:38 +0000
commit5a211162cd360449f2dbfb7ca9231c025909353f (patch)
treecb1e381023629ae2b3d383210f275f479afdb348 /pod/perlfunc.pod
parent649da0762311e9a19091946020dc56feadc1378c (diff)
downloadperl-5a211162cd360449f2dbfb7ca9231c025909353f.tar.gz
default mkdir() mode argument to 0777
p4raw-id: //depot/perl@5164
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 6b47fc7a41..5de9dc7947 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2417,9 +2417,12 @@ the original list for which the BLOCK or EXPR evaluates to true.
=item mkdir FILENAME,MASK
+=item mkdir FILENAME
+
Creates the directory specified by FILENAME, with permissions
specified by MASK (as modified by C<umask>). If it succeeds it
returns true, otherwise it returns false and sets C<$!> (errno).
+If omitted, MASK defaults to 0777.
In general, it is better to create directories with permissive MASK,
and let the user modify that with their C<umask>, than it is to supply