in reply to Installing perl module using CPAN

couldn't install on specific customized path
export PERL_MM_OPT='INSTALL_BASE=/your/own/path' PERL_MB_OPT='--instal +l_base "/your/own/path"'

See the docs for ExtUtils::MakeMaker and Module::Build for details of these environment variables.