Hello.
I write a perl script that 5 different people will use.
Each one of the 5 will run the script on the same computer, but will login to this computer with a different user_name and so (I guess) with a different user environment variable.
If we were working on Unix, I could simply use the WHOAMI unix command in the perl script. But we are working with WINDOWS.
So, in short, how can the perl script know who is the current user, without asking him, in order to use a different directlry for each user ?
Thanks
Roni
<EMAIL REMOVED BY MOD>
I write a perl script that 5 different people will use.
Each one of the 5 will run the script on the same computer, but will login to this computer with a different user_name and so (I guess) with a different user environment variable.
If we were working on Unix, I could simply use the WHOAMI unix command in the perl script. But we are working with WINDOWS.
So, in short, how can the perl script know who is the current user, without asking him, in order to use a different directlry for each user ?
Thanks
Roni
<EMAIL REMOVED BY MOD>
Comment