in reply to Problems with CPAN: installing Tk

Install the module
to this directory
set PERL_MB_OPT=--install_base /home/user/devstuff set PERL_MM_OPT=INSTALL_BASE=/home/user/devstuff
using magic
cpanp i Mo::Dule
cpan  Mo::Dule
manually if Module::Build based
perl Build.PL --install_base /home/user/devstuff Build Build test Build install
manually if ExtUtils::MakeMaker based
perl Makefile.PL INSTALL_BASE=/home/user/devstuff perl -V:make prints the name of the make program you should use make , + nmake , dmake , gmake ... make make test make install
Then tell your perl where to find the modules
set PERL5LIB=/home/user/devstuff/lib/perl5
use lib '/home/user/devstuff/lib/perl5';
related cpan* toolchain config threads
How to install module with CPANPLUS without prompting?
Getting CPAN.pm to accept Makefile.PL prompts
How to skip the prompt fot configuring CPAN.
How to stop Module::Build from generating html?
Specifying directories for cpan shell
http://search.cpan.org/dist/CPAN/lib/CPAN.pm#mkmyconfig
http://search.cpan.org/dist/Module-Build/lib/Module/Build.pm#install_base

;}) dance ({: