How do I tell CPAN to install all dependencies?

后端 未结 10 985
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 16:27

How do I tell CPAN to install all dependencies?

I tried setting these in cpan:

cpan> o conf prerequisites_policy follow
cpan> o co         


        
10条回答
  •  攒了一身酷
    2020-11-30 17:11

    I found this to be, by far, the quickest and most reliable way to install CPAN modules:

    yes | perl -MCPAN -e "CPAN::Shell->notest(qw!install Your::Module!)"
    

提交回复
热议问题