On Thu, 20 Mar 2003, Ankit Gupta wrote:

> Hi,
> 
> I want to print some linux environment variables that have already been set.
> Could some one let me know which command I can use to get value of
> environment variables.

Environment variables are available through the %ENV hash. For e.g. to get 
env var SHELL if it exists, you will do this
my $shell_env = $ENV{'SHELL'};



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to