summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2007-05-03 19:27:13 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-05-04 13:21:53 +0000
commit2bc0d02221944074d33eee1f274902f3f414b9a1 (patch)
tree1042750d68616a19acc09c2dac8889178ac82d85 /pod
parentc2598295beaf75b0a9a1bfaf07d356e6d2feda64 (diff)
downloadperl-2bc0d02221944074d33eee1f274902f3f414b9a1.tar.gz
Documentation fixes for EGID/GID confusion
Message-ID: <20070503172713.GA23180@sirius.otherwize.co.uk> p4raw-id: //depot/perl@31137
Diffstat (limited to 'pod')
-rw-r--r--pod/perlvar.pod4
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index c3adfa0a10..f849ca9ba6 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -926,7 +926,9 @@ the same as the first number.
However, a value assigned to C<$(> must be a single number used to
set the real gid. So the value given by C<$(> should I<not> be assigned
-back to C<$(> without being forced numeric, such as by adding zero.
+back to C<$(> without being forced numeric, such as by adding zero. Note
+that this is different to the effective gid (C<$)>) which does take a
+list.
You can change both the real gid and the effective gid at the same
time by using POSIX::setgid(). Changes to $( require a check to $!