|
|
| P is for Practical | |
| PerlMonks |
Re^3: How to get system user name from windows using perlby Ralesk (Beadle) |
| on Jan 27, 2012 at 15:52 UTC ( #950394=note: print w/ replies, xml ) | Need Help?? |
|
Caveat: %ENV is always byte semantics, if you have an oldish Windows and a username outside of the ANSI locale, you get question marks. One should be using Win32’s LoginName() instead which always returns character-shaped characters.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||