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


in reply to Environment variable

You need to read Data Type: Hash. After that, create a hash keyed on the environment variable name, having the value you expect the environment variable to have. Loop and test.