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


in reply to What is the best way to find username running your script?

use User or File::HomeDir or Win32::pwent/User::pwent
  • Comment on Re: What is the best way to find username running your script?