The easiest way to solve this problem is to create a CPAN::MyConfig file which has all the makepl_arg value set and also a ~/.modulebuildrc file.
~/.cpan/CPAN/MyConfig.pm
$CPAN::Config->{makepl_arg} = q[INSTALLARCHLIB=/home/.../.perl/lib INSTALLBIN=/home/.../bin INSTALLMAN1DIR=/home/.../.perl/man/man1 INSTALLMAN3DIR=/home/.../.perl/man/man3 INSTALLPRIVLIB=/home/.../.perl/lib INSTALLSCRIPT=/home/.../bin INSTALLSITEARCH=/home/.../.perl/lib INSTALLSITEBIN=/home/.../bin INSTALLSITELIB=/home/.../.perl/lib INSTALLSITEMAN1DIR=/home/.../.perl/man/man1 INSTALLSITEMAN3DIR=/home/.../.perl/man/man3 INSTALLVENDORARCH=/home/.../.perl/lib INSTALLVENDORBIN=/home/.../bin INSTALLVENDORLIB=/home/.../.perl/lib INSTALLVENDORMAN1DIR=/home/.../.perl/man/man1 INSTALLVENDORMAN3DIR=/home/.../.perl/man/man3];~/.modulebuildrc
--installpath lib=/home/.../.perl/lib --installpath arch=/home/.../.perl/lib --installpath bin=/home/.../bin --installpath bindoc=/home/.../.perl/man/man1 --installpath libdoc=/home/.../.perl/man/man3
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: automatic/unattended cpan install
by diotalevi
in thread automatic/unattended cpan install
by raiten
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |