Subject: | [patch] special handling of Cwd breaks on Fedora's perl |
The "special" handling of Cwd breaks on Fedora's perl. In Fedora, dual-life modules that come from the CPAN rather than system perl get installed to vendor locations. Simple fix is to include vendorlib & vendorarch in the "special" @INC for Cwd.
Subject: | perlbrew-vendor.patch |
diff -up App-perlbrew-0.66/lib/App/perlbrew.pm.orig App-perlbrew-0.66/lib/App/perlbrew.pm
--- App-perlbrew-0.66/lib/App/perlbrew.pm.orig 2013-08-02 16:27:44.000000000 -0600
+++ App-perlbrew-0.66/lib/App/perlbrew.pm 2013-08-16 08:20:11.360091992 -0600
@@ -12,7 +12,7 @@ BEGIN {
@INC = (
$Config{sitelibexp}."/".$Config{archname},
$Config{sitelibexp},
- @Config{qw<archlibexp privlibexp>},
+ @Config{qw<vendorlibexp vendorarchexp archlibexp privlibexp>},
);
require Cwd;