.bashrc/.profile not "sticking" on login/cronjob


#1

So I installed some cpan perl modules according to the instructions at http://wiki.dreamhost.com/InstallCpanModules . But every time I login, I needed to run “source ~/.bashrc” or ~/.profile" to get the paths to recognize the paths to my installed modules. Is there any way to get the the profile to recognize the paths changes documented at http://wiki.dreamhost.com/InstallCpanModules#Update_your_profile on login and for cronjobs?

For anyone else who’s trying to install cpan modules, I also had to copy some of the files from ~/perl5/lib/perl5// to ~/perl5/lib/perl5/x86_64-linux-gnu-thread-multi//, but at least it works.