in reply to Re: Linux id command
in thread Linux id command

In addition, you can find the associated name using getgrgid()/getpwuid(). Also look at the related functions under the same perlfunc section.