http://diary.overlasting.net/2010-01-14-3.html
$ sudo perl -MCPAN -e shell cpan > o conf prerequisites_policy follow cpan > o conf commit
cpanコマンドの際では、↑このような方法があるようです。
同様?のものは、yesコマンドやperl Configure時の -de しか知りませんが、他にどういったものがあるのだろう?
yesコマンド
$ yes y | rm -i *
perl Configure(インストール)時の-d -e オプション
configure時の質問に対し、自動的にデフォルトが選択されます
a2:perl-5.12.1 endo$ ./Configure --help Usage: Configure [-dehrsEKOSV] [-f config.sh] [-D symbol] [-D symbol=value] [-U symbol] [-U symbol=] [-A command:symbol...] -d : use defaults for all answers. -e : go on without questioning past the production of config.sh. <略>
Configureの例
$ ./Configure -Dprefix=/usr/local/perl5.10 -Dusethreads -de