in reply to Password file manipulation
There's an example of accessing the /etc/passwd file as a flat-file database in the DBD::CSV docs. That may be a good place to start.