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

RE: New Perl-Installation on new OS X

Thread Previous | Thread Next
From:
John Delacour
Date:
June 10, 2011 14:33
Subject:
RE: New Perl-Installation on new OS X
Message ID:
p06240810ca182eec3e02@[192.168.1.66]
At 13:21 -0700 10/06/2011, Jan Dubois wrote:

>I think a better way to modify your @INC is on a per-installation
>basis.  For Apple's Perl you have the AppendToPath and PrependToPath
>mechanism...
>There is no PrependToPath file by default, but you can create one
>yourself, and all directories listed in there will be put at the
>front of @INC, just as if you put them into PERL5LIB.
>
>If you build your own Perl, then you may want to ./Configure it
>with -Dusesitecustomize.  That way you can modify @INC in a
>perl/site/lib/sitecustomize.pl file at runtime.

Very useful information, Jan.  Many thanks.

JD

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