s_gaurav1091 has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I am writting a perl script in which i am making an entry of some environment variables in /root/.bash_profile. after that I am executing the .bash_profile with the command source /root/.bash_profile. Still the changes are not reflected unless i logout and then login again. Can any one suggest what i should do????

Replies are listed 'Best First'.
Re: setting the environment variables
by Tanktalus (Canon) on Nov 29, 2005 at 05:21 UTC