Re: Adding to @INC
[email protected] (Vic Norton)
| Newsgroups | perl.macosx |
|---|---|
| Message-ID | <[email protected]> |
Now I realize that
export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8
is overkill. The lines
<key>PERL5LIB</key>
<string>/opt/local/lib/perl5/site_perl/5.8.8</string>
in ~/.MacOSX/environment.plist do it all. Then
$ENV{PERL5LIB} = "/opt/local/lib/perl5/site_perl/5.8.8"
and "/opt/local/lib/perl5/site_perl/5.8.8" is near the beginning of
@INC.
On Jan 7, 2009, at 11:50 AM, Vic Norton wrote:
> Thanks guys! That did the trick. I added
> export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8
> to ~/.bash_profile = ~/.bashrc, and I also added
> <key>PERL5LIB</key>
> <string>/opt/local/lib/perl5/site_perl/5.8.8</string>
> to my ~/.MacOSX/environment.plist so Mac applications, e.g., BBEdit,
> will also search in the right place.