in reply to Re: using Unix::PasswdFile to change either the password or the shell of a user
in thread using Unix::PasswdFile to change either the password or the shell of a user

Are you sure? That's not what the documentation says they do:
setpwent: These routines perform the same functions as their counterparts in the system library.
And getpwent(3) says:
The setpwent() function rewinds the file pointer to the beginning of the /etc/passwd file.
  • Comment on Re^2: using Unix::PasswdFile to change either the password or the shell of a user