I place my personal (not shared by CPAN) perl modules in gitlab.com , so I can install them on remote hosts running the command: cpanm https://gitlab.com/xxx/My-Module.git. It is working fine. But what if my private module has some other private modules in the dependencies? Build.PLin the following way:
use Module::Build;
Module::Build->new(
module_name => 'My::Module',
dist_abstract => '-',
requires =>
{
'My::OtherModule' => 0,
'Moo' => 0,
}
)->create_build_script;
Is there any way to declare a git url for My::OtherModule?
source
share