I want to write a programme in perl which can compare values of different ENVIRONMENT VARIABLES(env var) with the default variables and it should give a warning when the value of environment variable is not same as my default value. I have a small peice of programme which can compare the value of an environment variable. lets say i have in total 20 env var, but i m intrested in 10 env var(a1, a2, a3,.....,a10) their default values are (b1, b2, b3,......, b10). Now in Perl we have environment variables defined in $ENV so i want to take these 10 ENV VAR (a1,....,a10)compare their values from default and then tell if they match or not. for sure i can write this same thing ten times and get the work done but i m looking for an easier alternative(as done in the previous post). Thank you for your help!!