Stopping indexing with ExtUtils::MakeMaker
In order to stop ExtUtils::MakeMaker from indexing two directories called "tmpl" and "build", add the following toWriteMakefile:
WriteMakefile (
# Other parts skipped here
META_MERGE => {
no_index => {
directory => [qw/tmpl build/],
}
}
This adds the information to the file META.yml which
ExtUtils::MakeMaker creates when you do make dist.
This only works for ExtUtils::MakeMaker from version 6.46
onwards, so you might need to add
use ExtUtils::MakeMaker 6.46;at the top as well.
Web links
Copyright © Ben Bullock 2009-2025. All
rights reserved.
For comments, questions, and corrections, please email
Ben Bullock
(benkasminbullock@gmail.com).
/
Privacy /
Disclaimer