1use Module::Build; 2my $build = Module::Build->new( 3 module_name => 'Data::FormValidator::Constraints::DateTime', 4 license => 'perl', 5 requires => { 6 'perl' => '5.6.1', 7 'Data::FormValidator' => '3.61', 8 'DateTime' => '0.23', 9 'DateTime::Format::Strptime' => '1.00', 10 'Exporter' => 0, 11 }, 12 recommends => { 13 'DateTime::Format::MySQL' => '0.0301', 14 'DateTime::Format::Pg' => '0.050', 15 }, 16 build_requires => { 17 'DateTime::Format::Builder' => 0, 18 }, 19 create_makefile_pl => 'traditional', 20); 21$build->create_build_script; 22