export PERL_MM_USE_DEFAULT=1
export PERL5LIB=/home/user/stuff/lib/perl5
export PERL_MB_OPT=--install_base /home/user/stuff
export PERL_MM_OPT=INSTALL_BASE=/home/user/stuff
cpan -fi Module Module Module Module Module Module
####
$ perl -Mlocal::lib
Attempting to create directory C:\DOCUME~1\username\perl5
set PERL_LOCAL_LIB_ROOT=%PERL_LOCAL_LIB_ROOT%;C:\DOCUME~1\username\perl5
set PERL_MB_OPT=--install_base C:\DOCUME~1\username\perl5
set PERL_MM_OPT=INSTALL_BASE=C:\DOCUME~1\username\perl5
set PERL5LIB=C:\DOCUME~1\username\perl5\lib\perl5;%PERL5LIB%
set PATH=C:\DOCUME~1\username\perl5\bin;%PATH%
####
Installing ...
Installing ...
Installing ...