in reply to Re: Re: UNIX environment setup via perl
in thread UNIX environment setup via perl

This is not possible. Child processes cannot change the environment of its parents. In this case, the perl script cannot alter the environment in the calling shell. You have to use "source" or "." with a shell script instead. Another way is to use the shell-builtin "eval" to evaluate the output of the script. Look at /usr/X11R6/bin/resize for an idea how to use this.
  • Comment on Re: Re: Re: UNIX environment setup via perl