summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2018-09-03 13:58:27 -0400
committerJames E Keenan <jkeenan@cpan.org>2018-09-03 13:58:27 -0400
commite74a82d73e1108a42abe6840048f84ea7a97ff8d (patch)
treeec738a687cfe6286c8d9dd1cc8ef86d0b8d881dc /lib
parent5f6213d89ed78ad348741c2e8c3f944bf412b426 (diff)
downloadperl-e74a82d73e1108a42abe6840048f84ea7a97ff8d.tar.gz
There is no getpw() function in User::grent.
Documentation should refer to getgr(), per report from Elizabeth Mattijsen. Increment $VERSION. For: RT 133217
Diffstat (limited to 'lib')
-rw-r--r--lib/User/grent.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/User/grent.pm b/lib/User/grent.pm
index 353d9280de..9f95541729 100644
--- a/lib/User/grent.pm
+++ b/lib/User/grent.pm
@@ -2,7 +2,7 @@ package User::grent;
use strict;
use 5.006_001;
-our $VERSION = '1.02';
+our $VERSION = '1.03';
our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
our ($gr_name, $gr_gid, $gr_passwd, @gr_members);
BEGIN {
@@ -76,8 +76,8 @@ to $gr_gid if you import the fields. Array references are available as
regular array variables, so C<@{ $group_obj-E<gt>members() }> would be
simply @gr_members.
-The getpw() function is a simple front-end that forwards
-a numeric argument to getpwuid() and the rest to getpwnam().
+The getgr() function is a simple front-end that forwards a numeric
+argument to getgrgid() and the rest to getgrnam().
To access this functionality without the core overrides,
pass the C<use> an empty import list, and then access