Subject: | 'clean' flag do not work |
./Build clean
Writing README.mkdn
Can't locate object method "add_to_cleanup" via package "Module::Build::Pluggable::ReadmeMarkdownFromPod" at /home/kes/.perlbrew/libs/perl-5.24.1@carton/lib/perl5/Module/Build/Pluggable/ReadmeMarkdownFromPod.pm line 38.
$cat Build.PL
use strict;
use warnings;
use Module::Build::Pluggable
ReadmeMarkdownFromPod => { clean => 1 },
Repository =>
CPANfile =>
XSUtil => {
cc_warnings => 1,
ppport => "lib/Text/ppport.h",
},
;
my $builder = Module::Build::Pluggable->new(
module_name => 'XS::Utils',
license => 'perl',
create_makefile_pl => 'traditional',
create_readme => 1,
create_license => 1,
);
$builder->create_build_script;