I wrote a perl script that prompts the user for a file name. Then, it does some checking to see if the file exists and reprompts if the user enter a bad file name, the file has a string in it that it shouldn't, etc. This works fine from my PC which has Perl installed. Now I've moved the script...
I need to know if there is a way to get the Windows Login ID, in a perl program? I will just be storing their ID in the log, so we know who is running the program.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.