Bad Build.PL built when using --fatalize
Closed this issue · 1 comments
coreywischmeyer commented
Found a small bug on 4.71. When I run this:
Command line
module-starter --mb --module=New::Project--author="Corey Wischmeyer" --email=corey.wischmeyer@github.com --fatalize
Build.PL
use 5.006;
use strict;
use warnings FATAL => 'all; #notice the missing closing quote.
use Module::Build;
my $builder = Module::Build->new(
module_name => 'New::Project',
license => 'artistic_2',
dist_author => q{Corey Wischmeyer <corey.wischmeyer@github.com>},
dist_version_from => 'lib/New/Project.pm',
release_status => 'stable',
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
'Test::More' => 0,
},
requires => {
#'ABC' => 1.6,
#'Foo::Bar::Module' => 5.0401,
},
add_to_cleanup => [ 'New-Project-*' ],
create_makefile_pl => 'traditional',
);
$builder->create_build_script();
The Build.PL appears to work when I fix the syntax.
Grinnz commented
Should be fixed in next release