Hi Amit try this:
use Win32; $name=Win32::LoginName(); print $name; HTH abhra > -----Original Message----- > From: Nisim, Amit [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 4:51 PM > To: [EMAIL PROTECTED] > Subject: How do I get username in Perl ? > > > Hi All, > > I want to get the name of the user that run the script. > How can I do it ? > > Amit > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]