diff --git a/perlbrew b/perlbrew index 5bf1a216..fc29979d 100755 --- a/perlbrew +++ b/perlbrew @@ -1,6 +1,12 @@ #!/usr/bin/perl -BEGIN { use Config; @INC = @Config{qw(vendorlibexp privlibexp archlibexp sitelibexp sitearchexp)} }; +use Config; +BEGIN { + my @oldinc = @INC; + @INC = ( $Config{sitelibexp}."/".$Config{archname}, $Config{sitelibexp}, @Config{qw} ); + require Cwd; + @INC = @oldinc; +} # This chunk of stuff was generated by App::FatPacker. To find the original