This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
There is no getpw() function in User::grent.
authorJames E Keenan <jkeenan@cpan.org>
Mon, 3 Sep 2018 17:58:27 +0000 (13:58 -0400)
committerJames E Keenan <jkeenan@cpan.org>
Mon, 3 Sep 2018 17:58:27 +0000 (13:58 -0400)
Documentation should refer to getgr(), per report from Elizabeth
Mattijsen.

Increment $VERSION.

For: RT 133217

lib/User/grent.pm

index 353d928..9f95541 100644 (file)
@@ -2,7 +2,7 @@ package User::grent;
 use strict;
 
 use 5.006_001;
 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 { 
 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.
 
 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
 
 To access this functionality without the core overrides,
 pass the C<use> an empty import list, and then access