Re: Adding to @INC

[email protected] ("Chas. Owens")
Newsgroups perl.macosx
Message-ID <[email protected]>
On Wed, Jan 7, 2009 at 11:13, Adam Witney <[email protected]> wrote:
>>>
>>> Try adding this to your ~/.profile
>>>
>>> export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8
>>
>> OS X 10.5 (or at least my version of 10.5) uses ~/.bash_profile not
>> ~/.profile for user overrides to the default profile (/etc/bashrc).
>> If this is a multiuser machine and you want the other users to see the
>> modules as well you can set it in the default profile instead of your
>> own.
>
> I think either ~/.profile or ~/.bash_profile will work. My ~/.profile was
> created by a previous fink installation if i remember correctly.

Check .bash_profile, there is probably a line like

. ~/.profile

in it.  I don't think it was Fink that added that, Fink has always just added

test -r /sw/bin/init.sh && . /sw/bin/init.sh

to my ~/.bash_profile.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.