This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1


Frank_Ehlert@arburg.com wrote:



Hi,


If PERL5LIB is set, perl searches for according version directories and
architecture specific directories.
If they are present they will be included in the @INC array.


Now I am faced with the problem that with perl 5.8.7 this does not work anymore!

There is a new feature in perl, if there is a the script
$Config{siteperl}/sitecustomize.pl present it will be executed. See
http://search.cpan.org/~nwclark/perl-5.8.7/pod/perlrun.pod#%2Df how to disable it or how it may help you until an update of perl with a
workaround is released, from perlrun.pod:


-f

Disable executing $Config{siteperl}/sitecustomize.pl at startup.

Perl can be built so that it by default will try to execute $Config{siteperl}/sitecustomize.pl at startup. This is a hook that allows the sysadmin to customize how perl behaves. It can for instance be used to add entries to the @INC array to make perl find modules in non-standard locations.


Maybe this feature is also the reason that it behaves different from previous releases.


Gerrit
--
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]