From e74a82d73e1108a42abe6840048f84ea7a97ff8d Mon Sep 17 00:00:00 2001 From: James E Keenan Date: Mon, 3 Sep 2018 13:58:27 -0400 Subject: [PATCH] There is no getpw() function in User::grent. Documentation should refer to getgr(), per report from Elizabeth Mattijsen. Increment $VERSION. For: RT 133217 --- lib/User/grent.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/User/grent.pm b/lib/User/grent.pm index 353d928..9f95541 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-Emembers() }> 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 an empty import list, and then access -- 1.8.3.1