This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #40327] Doc patch for perlfunc.pod
authormerijnb@ms.com <merijnb@ms.com>
Tue, 12 Sep 2006 09:12:12 +0000 (02:12 -0700)
committerRafael 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

index e98e3f4..bcedd53 100644 (file)
@@ -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