This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Since change 9c901649534a1360, vendorlib_stem isn't always added to @INC.
authorNicholas Clark <nick@ccl4.org>
Sun, 21 Feb 2010 14:46:27 +0000 (14:46 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 21 Feb 2010 14:46:27 +0000 (14:46 +0000)
Update lib/Config.t to reflect this.

vendorlib_stem used always to be added if defined. Since that change it is only
added if inc_version_list is also defined, which makes "vendor" behaviour
consistent with "site", where sitelib_stem had always only ever been added to
@INC if inc_version_list is defined.

lib/Config.t

index 922f826..76ce6b6 100644 (file)
@@ -256,9 +256,9 @@ my %orig_inc;
 @orig_inc{@orig_inc} = ();
 
 my $failed;
 @orig_inc{@orig_inc} = ();
 
 my $failed;
-# This is the order that directories are pushed onto @INC in perl.c:
+# This [used to be] the order that directories are pushed onto @INC in perl.c:
 foreach my $lib (qw(applibexp archlibexp privlibexp sitearchexp sitelibexp
 foreach my $lib (qw(applibexp archlibexp privlibexp sitearchexp sitelibexp
-                    vendorarchexp vendorlibexp vendorlib_stem)) {
+                    vendorarchexp vendorlibexp)) {
   my $dir = $Config{$lib};
   SKIP: {
     skip "lib $lib not in \@INC on Win32" if $^O eq 'MSWin32';
   my $dir = $Config{$lib};
   SKIP: {
     skip "lib $lib not in \@INC on Win32" if $^O eq 'MSWin32';