in reply to Reading HTTP Environment Variables from web Clients point of view

You are confused about the meanings of %ENV and 'Environment.' %ENV contains the contents of your current environment. The 'Linux Shell Variables' you mentioned are your shell environment variables. The reason you see different contents when you run the script as a CGI is because the entire environment is different and the web server sets those values for you. Environment variables are just what the name implies: variables particular to whatever environment you currently reside in.

HTH, HAND.