in reply to The getpwnam function is unimplemented (in Windows)

Try:
use Win32; my $userName = Win32::LoginName(); print "Current User: ", $userName, "\n";

Replies are listed 'Best First'.
Re^2: getpwnam
by Hitarth1987 (Initiate) on May 31, 2011 at 09:46 UTC
    Good one...I tried this and it worked like a charm !!! Thanks !!!