[Catalyst] Debian recommendation

Andrew Rodland andrew at cleverdomain.org
Sat Oct 17 20:46:05 GMT 2009


On Saturday 17 October 2009 03:20:49 pm Octavian Râşniţă wrote:
> Is it really possible to install locally perl modules using the module
> local::lib if this module is installed in the default location by root?
> 
Yes, you just need to not have a CPAN config that has /root/.cpan has a 
"cpan_home". If you have a ~/.cpan/CPAN/MyConfig.pm then edit that file (using 
a text editor or CPAN.pm) and fix the cpan_home, build_dir, hist_file, and 
keep_source_where options so that they point somewhere you can actually write 
to. If you don't (if the CPAN/Config.pm in effect is global), then just cp it 
into your local PERL5LIB and then edit it as such.

Andrew



More information about the Catalyst mailing list