Damian Conway wrote:
> 
>    > On the matter of gcos or gecos, and passwd or pw_passwd, and all
>    > that noise, please consult the User::pwent manpage.
>    > There's no reason for all those noisy bits.
> 
> Since the standard function provides those noisy bits, this proposal
> names them.

Note that User::pwent does say:

DESCRIPTION
     This module's default exports override the core getpwent(),
     getpwuid(), and getpwnam() functions, replacing them with
     versions that return "User::pwent" objects.  This object has
     methods that return the similarly named structure field name
     from the C's passwd structure from pwd.h; namely name,
     passwd, uid, gid, quota, comment, gecos, dir, and shell.


So getpwnam/uid should probably return gecos, not gcos.

-Nate

Reply via email to