DOKK / manpages / debian 11 / libdist-zilla-perl / Dist::Zilla::Plugin::FileFinder::Filter.3pm.en
Dist::Zilla::Plugin::FileFinder::Filter(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::FileFinder::Filter(3pm)

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

version 6.017

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

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.

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

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

This plugin was originally contributed by Christopher J. Madsen.

Ricardo SIGNES 😏 <rjbs@cpan.org>

This software is copyright (c) 2020 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.

2020-11-04 perl v5.30.3