RE: New Perl-Installation on new OS X
[email protected] (John Delacour) Fri, 10 Jun 2011 22:33:04 +0100
| Newsgroups | perl.macosx |
|---|---|
| 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