Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: How to get system user name from windows using perl

by Ralesk (Pilgrim)
on Jan 27, 2012 at 15:52 UTC ( #950394=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to get system user name from windows using perl
in thread How to get system user name from windows using perl

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.

  • Comment on Re^3: How to get system user name from windows using perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950394]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2017-08-20 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (315 votes). Check out past polls.

    Notices?