Hi Guys
I would like to change a user’s environment from a shell script located in the same directory as I’m running my Perl script from.
We usually use shell scripts to do this but would like to use Perl.
Within the shell script we usually run the following
source /home/<userdir>/bin/set_normal
This will change the environment to a normal working environment
Is it possible to run the source command within Perl as I can t seemed to invoke the source command?
I get the following error message when tying to run my script
source /home/<userdir>/bin/set_normal: No such file or directory