Subject: | ->script_files includes files ignored in MANIFEST.SKIP |
Test case :
- create bin/myscript.old.pl
- add "\.old\.pl$" to MANIFEST.SKIP
- perl -MModule::Build -e "$,=',';print keys %{Module::Build->new(dist_na
me=>'Toto',dist_version=>'0.00')->script_files}"
-> it shows bin/myscript.old.pl (bin\myscript.old.pl on MSWin32)
As Module::Build::Compat uses Module::Build->script_files, the
Makefile.PL generated by Module::Build->create_build_script() includes
in EXE_FILES some files which are not in the distribution.
The problem seems to come from Module::Build::Base->_files_in() which
does not filter against MANIFEST.SKIP content.