2017-09-13 122 views
1

對於深入perl的人來說,這可能是微不足道的:我如何在mac上重新運行cpan的自動配置?我選擇了'local :: lib',但只是承認我應該選擇'sudo'。我如何重新配置​​?重新運行perl cpan自動配置

謝謝。

回答

2

cpan內,

o conf init 

或者,刪除~/.cpan/CPAN/MyConfig.pm(進行備份,優選之後)。


另外,從cpan內,

o conf makepl_arg     '' 
o conf make       '/usr/bin/make' 
o conf make_arg      '' 
o conf make_install_make_command 'sudo /usr/bin/make' 
o conf make_install_arg    '' 
o conf mbuildpl_arg     '' 
o conf mbuild_arg     '' 
o conf mbuild_install_build_command 'sudo ./Build' 
o conf mbuild_install_arg   '' 
+0

謝謝,我可以重新運行配置,但它並沒有索要「須藤」選項了...我想安裝模塊爲所有用戶 – user30826