From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
1234567891011121314 use Module::Build;my $build = Module::Build->new ( module_name => 'Foo::Bar', license => 'perl', requires => { 'perl' => '5.6.1', 'Some::Module' => '1.23', 'Other::Module' => '>= 1.2, != 1.5, < 2.0', }, );$build->create_build_script;
use
Module::Build;
my
$build
= Module::Build->new
(
module_name
=>
'Foo::Bar'
,
license
'perl'
requires
=> {
'5.6.1'
'Some::Module'
'1.23'
'Other::Module'
'>= 1.2, != 1.5, < 2.0'
},
);
->create_build_script;