How do I tell CPAN to install all dependencies?

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

    Personally I have only tried a couple of times to modify the settings in that way and have actually found it easier to drop into the CPAN.pm shell by giving cpan no arguments, then configuring CPAN.pm from the interactive prompt:

    $ cpan
    cpan> o conf init
    

    This will initiate the CPAN.pm interfaces configuration utility. Simply run through it and specify "follow" where you need to (I forget the question offhand), and you should be good to go.

提交回复
热议问题