Headline: very simple local CPAN instruction
TWiki often would be helped by having a local CPAN library to add to a Hosting providors one (and Catalyst certainly needs it at the moment). I came across this while setting up my test Catalyst app on Dreamhost, Local CPAN setup, but it looks so simple to me, it should work pretty much anywhere that the requirements for CPAN exist.
export PERL5LIB=~/site/perl/share/perl/5.8:~/site/perl/share/perl/5.8.4:~/site/perl/lib/perl5:~/site/perl/lib/perl/5.8.4
perl -MCPAN -e shell and say no to manual configuration.
exit CPAN shell and restart it (perl -MCPAN -e shell), then run
o conf makepl_arg PREFIX=~/site/perl
o conf commit
install CPAN
exit CPAN shell and restart it (perl -MCPAN -e shell), say no to manual configuration and then run
o conf mbuildpl_arg --install-base=~/site/perl
o conf prefer_installer MB
o conf commit
install Module::Build
Edit • Attach • Print version • History: r5 < r4 < r3 < r2 < r1 • Backlinks • Raw View • Raw edit • More topic actions