|Subject:||patchperl loses PERL5LIB setting|
I'm trying to do a completely off-line and non-root install; basically a normal user with no access to root and the default perl configuration and worse no internet connection. In order to do this I first install libraries locally to get cpanm running. Then I use cpanm to install perlbrew into a local directory the user has access to. The problem I have is when perlbrew (local) runs patchperl, patchperl fails because the environment variables are deleted and patchperl no longer can see the local lib directories in @INC (it can't find Devel::PatchPerl). As a work-around, I can edit patchperl itself and specifically point it to my local lib install, however, it would be much better if there was a way for me to instruct perlbrew to use a local lib just for patchperl instead.