in reply to
Getting Next Available Userid
This partially depends on what "available" means. If it means the next highest uid, try
Unix::PasswdFile
. It has a method to find the highest UID. An example in the POD even shows how to add a user with the next highest uid.
HTH, --traveler
Comment on
Re: Getting Next Available Userid
In Section
Seekers of Perl Wisdom