in reply to eval, Read environment variable and expand using eval

I have to read list of environment variables from configuration file and execute perl “eval” to expand the environment variable
I don't understand why you need eval to get the value of an environment variable. If you have the name of the variable stored in $envvarname, you get the value with $ENV{$envvarname}. Maybe it would help if you can show an example of your configuration file.

-- 
Ronald Fischer <ynnor@mm.st>