projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f244a50
)
[perl #40327] Doc patch for perlfunc.pod
author
merijnb@ms.com
<merijnb@ms.com>
Tue, 12 Sep 2006 09:12:12 +0000
(
02:12
-0700)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 13 Sep 2006 09:36:11 +0000
(09:36 +0000)
From: merijnb@ms.com (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-31259-
1158077531
-1067.40327-75-0@perl.org>
p4raw-id: //depot/perl@28830
pod/perlfunc.pod
patch
|
blob
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
e98e3f4
..
bcedd53
100644
(file)
--- a/
pod/perlfunc.pod
+++ b/
pod/perlfunc.pod
@@
-5903,7
+5903,7
@@
You can import symbolic mode constants (C<S_IF*>) and functions
printf "Permissions are %04o\n", S_IMODE($mode), "\n";
$is_setuid = $mode & S_ISUID;
- $is_
setgid
= S_ISDIR($mode);
+ $is_
directory
= S_ISDIR($mode);
You could write the last two using the C<-u> and C<-d> operators.
The commonly available C<S_IF*> constants are