in reply to setting env vars from hash fails for me

I suspect you don't want 'keys' and '%hash' to be the two arguments in use Env ...;, but that's what qw() is giving you. Omit the qw and you will get a list of the keys.

I don't see why you use Env.pm, though. If you do as you are to %hash with the special %ENV hash, all will be well.

After Compline,
Zaxo

  • Comment on Re: setting env vars from hash fails for me