develooper Front page | perl.macosx | Postings from June 2011

Re: New Perl-Installation on new OS X

Thread Previous | Thread Next
From:
Sherm Pendley
Date:
June 10, 2011 08:29
Subject:
Re: New Perl-Installation on new OS X
Message ID:
BANLkTin-38Mkg_3Q0FZSD+Xy-sW4O2--8g@mail.gmail.com
On Fri, Jun 10, 2011 at 11:11 AM, John Delacour <JD@bd8.com> wrote:
> At 10:38 -0400 10/06/2011, Sherm Pendley wrote:
>
>>  > What would be the effect of setting a value (or no value) for PERL5LIB
>> in
>>>
>>>  ~/.MacOSX/environment.plist?
>>
>> That plist is for setting up environment variables for GUI apps. It
>> has no effect on shell sessions.
>
> Obviously I'm missing something.  If I do set it, it seems to have the same
> effect superficially as fink's exporting it via .profile/init.sh

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.

Nor, as far as I can tell, will anything the OP does with respect to
his @INC. My best guess about that his "unable to create a
distribution object" relates to many of the files under ~/.cpan being
owned by root. This whole Fink/@INC/PERL5LIB subthread is little more
than a pointless distraction that won't solve the OP's actual problem.

sherm--

-- 
Cocoa programming in Perl:
http://camelbones.sourceforge.net

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About