S
Satish
Hi,
How do I set/unset unix environmental variables from a perl script?
thanks,
Satish
How do I set/unset unix environmental variables from a perl script?
thanks,
Satish
Satish said:Hi,
How do I set/unset unix environmental variables from a perl script?
J. Gleixner said:It's 'environment' variables. You operated on %ENV.
$ENV{'PATH'} .= ':/some/other/path';
foreach my $var (keys %ENV)
{
print $var, ':', $ENV{$var}, "\n";
}
Satish said:How do I set/unset unix environmental variables from a perl script?
Thanks this helped.J. Gleixner said:It's 'environment' variables. You operated on %ENV.
$ENV{'PATH'} .= ':/some/other/path';
foreach my $var (keys %ENV)
{
print $var, ':', $ENV{$var}, "\n";
}
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.