http://www.perlmonks.org?node_id=937365


in reply to How to get system user name from windows using perl

my name and acronym and department e.t.c. how can I get that name directly from windows system.

Never heard of a windows system maintaining such information, but if you can retrieve it from the registry, you could use Win32::TieRegistry

Also, %ENV contains lots of information, like USERPROFILE...