So many web sites state that $ENV{‘PATH’} = “/newpath:$ENV{‘ PATH’}”; should append to path.
When I include that in perl code, and echo $PATH afterwards, or just type env, there is no change in $path. ???
Any ideas? Thanks.
M.
User Profile
Collapse
-
adding to the path using %ENV
Hi, this question was already answered earlier, but in a different form.
I am trying to add a new path to the existing path. So I made a perl program that had the line below, and ran it in C shell, and nothing happens:
$ENV{‘PATH’} = “/newpath:$ENV{‘P ATH’}”;
What can be the problem?
Thanks,
Milica
No activity results to display
Show More