RE: New Perl-Installation on new OS X
[email protected] ("Jan Dubois") Fri, 10 Jun 2011 11:27:15 -0700
| Newsgroups | perl.macosx |
|---|---|
| Organization | ActiveState Software Inc |
| Message-ID | <[email protected]> |
On Fri, 10 Jun 2011, Sherm Pendley wrote: > Yes, but since .profile is evaluated later, whatever it does will > override what's set in the plist. Thus, changes in the plist will have > no effect on shell sessions that set the same variable. I use this line in my .bash_profile to make sure I use the same PATH everywhere (and only have to edit it in one place): export PATH=`/usr/libexec/PlistBuddy -c 'Print :PATH' ~/.MacOSX/environment.plist` The same can be done for PERL5LIB. Cheers, -Jan