K
ktom
when executing a 'system( some_other program );' from within a perl
script the environment it inherits, specifically the path, is unexpected.
i login to the work station and an environment is defined and used for
subsequent shells. and so it seems it is used for the 'system' command.
i would prefer that it use the environment of the shell from which the
perl script is called. as they are different and changing the other,
the login environment, requires that i log out and login once more.
is there a way to make the system call use the current environment..
thanks..
kevin
script the environment it inherits, specifically the path, is unexpected.
i login to the work station and an environment is defined and used for
subsequent shells. and so it seems it is used for the 'system' command.
i would prefer that it use the environment of the shell from which the
perl script is called. as they are different and changing the other,
the login environment, requires that i log out and login once more.
is there a way to make the system call use the current environment..
thanks..
kevin