Perl Programming/Keywords/getpwuid

The getpwuid keyword
The getpwuid function gets the next passwd record given the users identifier UID.