我在gitlab.com托管我的私有(不在CPAN上共享)perl模块,因此我可以通过运行命令cpanm https://gitlab.com/xxx/My-Module.git
将它们安装在远程主机上。它工作正常。但是,如果我的私有模块,依赖于其他一些私有模块呢? Build.PL
喜欢这样:
use Module::Build;
Module::Build->new(
module_name => 'My::Module',
dist_abstract => '-',
requires =>
{
'My::OtherModule' => 0,
'Moo' => 0,
}
)->create_build_script;
有没有办法为My::OtherModule
声明GIT网址?