in reply to getpwuid absent from Active State Perl?
if you're on Win32 and not Cygwin (which *does* have getpwuid and on Win32), then it's probably better to try using 'getlogin' function, may be optionally checking for $^O to be equal to 'Win32'.
Vadim