On Friday, August 16, 2002, at 01:22 , Rus Foster wrote:
> On Fri, 16 Aug 2002 [EMAIL PROTECTED] wrote: > >> Hello, >> does anybody know a possibility how to ascertain the current User (User >> Id, >> Username) ? [..] > use English; > print $UID; > print $GID; > perldoc perlvar will lead you to the other traditional ways my $uid = $<; my $e_uid = $>; my $gid = $(; my $e_gid = $); I have my nagging doubts about use English; when coding in perl... and as john has mentioned perldoc -f getpwuid or you can play with the perldoc POSIX if that makes you feel happier.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]