How do I tell CPAN to install all dependencies?

后端 未结 10 1011
爱一瞬间的悲伤
爱一瞬间的悲伤 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 16:58

    Changing the following parameter on top of prerequisites_policy follows.

    cpan> o conf prerequisites_policy 'follow'
    cpan> o conf build_requires_install_policy yes
    cpan> o conf commit
    

    This will change it from "ask/yes" to "yes" and stop it asking you.

提交回复
热议问题