Finally, if you are installing multiple modules that are
dependent on each other you might want to do:
This will allow the module you are installing to find the
other modules in ~/tmp-lib and run in a sensible way.
perl Makefile.PL PREFIX=~/tmp-lib LIB=~/tmp-lib
Actually, this didn't work for me. The modules couldn't find each other in this custom lib. I was trying to install CGI::Application which looks for HTML::Template. Neither of these were installed on my server. So I installed HTML::Template to my private lib. Then when I tried to install CGI::Application it couldn't see HTML::Template.
Edited by Chady -- added <blockquote> to quoted text.