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
In reply to Re: setting env vars from hash fails for me
by Zaxo
in thread setting env vars from hash fails for me
by ccarden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |