CPANで、いちいち依存してるライブラリをインストールするか訊かれないようにする
CPANで、ライブラリをインストールしようとすると、依存してるライブラリをインストールするかどうかを毎回訊いてくる。
---- Unsatisfied dependencies detected during ---- ---- PMQS/IO-Compress-2.017.tar.gz ---- Compress::Raw::Bzip2 [requires] Shall I follow them and prepend them to the queue of modules we are processing right now?
いちいち、これにYesと答えるのは面倒くさい。勝手にインストールされるようにするには、
cpan> o conf prerequisites_policy follow cpan> o conf commit
と設定してやればいい。
id:Yuichirouに教えてもらいました。