Search perldoc perlvar for UID/GID.
In reply to Re: Linux id command by davis in thread Linux id command by hotshot