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


in reply to how to set environment vars

Read your vars in from your file and populate the enviornment vie the %ENV hash

$ENV{'SHELLVAR') = $value