Dist::Zilla::Plugin::FileFinder::Filter(3)

NAME
Dist::Zilla::Plugin::FileFinder::Filter - filter matches from other FileFinders

VERSION
version 6.037

SYNOPSIS
In your dist.ini:

  [FileFinder::Filter / MyFiles]
  finder = :InstallModules ; find files from :InstallModules
  finder = :ExecFiles      ; or :ExecFiles
  skip  = ignore           ; that don't have "ignore" in the path

DESCRIPTION
FileFinder::Filter is a FileFinder that selects files by filtering the selections of other FileFinders.

You specify one or more FileFinders to generate the initial list of files. Any file whose pathname matches any of the "skip" regexs is removed from that list.

PERL VERSION
This module should work on any version of perl still receiving updates from the Perl 5 Porters. This means it should work on any version of perl released in the last two to three years. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

ATTRIBUTES

  finder
A FileFinder to supply the initial list of files. May occur multiple times.

  skip
The pathname must not match any of these regular expressions. May occur multiple times.

CREDITS
This plugin was originally contributed by Christopher J. Madsen.

AUTHOR
Ricardo SIGNES 😏 <cpan@semiotic.systems>

COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.