| 1 | use Module::Build; | ||
| 2 | my $build = Module::Build->new( | ||
| 3 | module_name => 'Object::Hybrid', | ||
| 4 | dist_version => '0.03_5', | ||
| 5 | license => 'perl', | ||
| 6 | requires => { | ||
| 7 | 'perl' => '5.006', | ||
| 8 | #'Class::Tag' => 0, # now included, so it is not a prerequisite build | ||
| 9 | #'Some::Module' => '1.23', | ||
| 10 | #'Other::Module' => '>= 1.2, != 1.5, < 2.0', | ||
| 11 | }, | ||
| 12 | #create_makefile_pl => 'traditional', # already have one created with h2xs and patched to ignore Build.pl (see Module::Build docs) | ||
| 13 | |||
| 14 | ); | ||
| 15 | $build->create_build_script; | ||
| 16 |