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