in reply to Finding username in Win32

If you've got ActiveState's version, scan through your documentation for the Win32 module, looking for LoginName. According to the docs,

Win32::LoginName() [CORE] Returns the username of the owner of the current perl process.

emc

At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.

—Igor Sikorsky, reported in AOPA Pilot magazine February 2003.