Re: @INC troubles and fun
[email protected] (Edward Moy)
| Newsgroups | perl.macosx |
|---|---|
| Message-ID | <[email protected]> |
FWIW, the AppendToPath file is a general purpose mechanism to append paths to @INC. As shipped from Apple, it includes the Extras directory (which is where the third-party perl modules that we ship are installed), and (to provide backwards compatibility) it contains paths to previous /Library/Perl/5.8.x directories that we have used in the past. (Note that if you move aside the AppendToPath file, perl will run without any third-party modules, useful for testing if you depend on modules outside the standard perl distribution.) You can also add paths to a PrependToPath file (which Apple doesn't ship), to prepend paths to @INC. --------------------------------------------------------------- Edward Moy Apple On Sep 12, 2008, at 1:57 PM, David Green wrote: > Actually it is possible the below is for use by Apache... (or both) > >> @INC >> >> OK, I have dug up some information I found some time ago... The >> standard (Tiger) implementation of @INC can be modified or added to >> via: /Library/Perl/5.8.6/AppendToPath >> >> I am assuming the equivalent in any installed version exists, but >> this will sort out 5.8.6. >> >> I think that might help some headaches. >