notes.t (Module-Build-0.4231) | : | notes.t (Module-Build-0.4232) | ||
---|---|---|---|---|
skipping to change at line 19 | skipping to change at line 19 | |||
my $tmp = MBTest->tmpdir; | my $tmp = MBTest->tmpdir; | |||
use DistGen; | use DistGen; | |||
my $dist = DistGen->new( dir => $tmp ); | my $dist = DistGen->new( dir => $tmp ); | |||
$dist->regen; | $dist->regen; | |||
$dist->chdir_in; | $dist->chdir_in; | |||
################################### | ################################### | |||
$dist->change_file( 'Build.PL', <<"---" ); | $dist->change_file( 'Build.PL', <<"---" ); | |||
use strict; | ||||
use warnings; | ||||
use Module::Build; | use Module::Build; | |||
my \$build = Module::Build->new( | my \$build = Module::Build->new( | |||
module_name => @{[$dist->name]}, | module_name => '@{[$dist->name]}', | |||
license => 'perl' | license => 'perl' | |||
); | ); | |||
\$build->create_build_script; | \$build->create_build_script; | |||
\$build->notes(foo => 'bar'); | \$build->notes(foo => 'bar'); | |||
--- | --- | |||
$dist->regen; | $dist->regen; | |||
my $mb = Module::Build->new_from_context; | my $mb = Module::Build->new_from_context; | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added |