[英]How can I tell CPAN::Shell to install all dependencies for a module?
I currently have this on a script: 我目前在脚本上有这个:
CPAN::Shell->rematein("notest", "install", "$m");
Where $m is a module name the script installs. 其中$ m是脚本安装的模块名称。 However, I want the module to install without prompting the user whether additional dependencies should be installed (optional deps or not), how can I do that? 但是,我希望在安装模块时不提示用户是否应安装其他依赖项(是否安装可选的deps),我该怎么做?
What is your setting for prerequisites_policy
in CPAN::Config? 您对CPAN :: Config中的prerequisites_policy
的设置是什么? That should be follow
and not ask
. 应该follow
而不是ask
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.