-
- Distribution: Dist-Zilla
- Module version: 6.017
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository (git clone)
- Issues (80)
- Testers (623 / 9 / 8)
- Kwalitee
- 78.76% Coverage
- License: perl_5
- Perl: v5.14.0
- Activity
- 24 month
- Tools
- Download (198.7Kb) 0
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Ævar Arnfjörð Bjarmason
- Alastair McGowan-Douglas
- Alceu Rodrigues de Freitas Junior
-
Alexei Znamensky
- Alex Vandiver
-
ambs
- Andrew Rodland
-
Andy Jack
-
Apocalypse
- ben hengst
- Bernardo Rechea
- Brian Fraser
-
Caleb Cushing
-
Chase Whitener
-
Chisel
-
Christian Walde
- Christopher Bottoms
- Christopher J. Madsen
-
Chris Weyl
- Cory G Watson
- csjewell
- Curtis Brandt
-
Dagfinn Ilmari Mannsåker
- Damien KRotkine
- Dan Book
- Daniel Böhmer
- Danijel Tasov
- Dave Lambley
- Dave O'Neill
-
Dave Rolsky
-
David E. Wheeler
-
David Golden
- David H. Adler
- David Steinbrunner
- David Zurborg
- Davor Cubranic
- Dimitar Petrov
- Doug Bell
-
Erik Carlsson
-
Fayland Lam
- Felix Ostmann
-
Florian Ragwitz
-
Fred Moyer
-
fREW Schmidt
- gardnerm
-
Gianni Ceccarelli
-
Graham Barr
-
Graham Knop
-
Graham Ollis
-
Grzegorz Rożniecki
-
Håkon Hægland
- Hans Dieter Pearcey
-
Hunter McMillen
-
Ivan Bessarabov
- Jakob Voss
- jantore
- Jérôme Quelin
- Jesse Luehrs
- Jesse Vincent
- JJ Merelo
-
John Napiorkowski
- jonasbn
- Jonathan C. Otsuka
-
Jonathan Rockway
-
Jonathan Scott Duff
-
Jonathan Yu
-
Karen Etheridge
-
Kent Fredric
-
Leon Timmermans
- Lucas Theisen
- Luc St-Louis
- Marcel Gruenauer
- Martin McGrath
- Mary Ehlers
-
Mateu X Hunter
- Matthew Horsfall
- mauke
-
Michael Conrad
- Michael G. Schwern
-
Michael Jemmeson
-
Mickey Nasriachi
- Mike Doherty
-
Mohammad S Anwar
-
Moritz Onken
- Neil Bowers
- Nickolay Platonov
- Nick Tonkin
-
nperez
-
Olivier Mengué
- Paul Cochrane
-
Pedro Melo
-
perlancar (@pc-office)
-
Philippe Bruhat (BooK)
-
Randy Stauner
- Ricardo Signes
- robertkrimen
- Rob Hoelz
-
Robin Smidsrød
-
Roy Ivy III
- Shawn M Moore
-
Shlomi Fish
- Smylers
- Steffen Schwigon
- Steven Haryanto
-
Tatsuhiko Miyagawa
-
Upasana Shukla
- Vyacheslav Matjukhin
- Yanick Champoux
-
Yuval Kogman
- Dependencies
- App::Cmd::Command::version
- App::Cmd::Setup
- App::Cmd::Tester
- App::Cmd::Tester::CaptureExternal
- Archive::Tar
- autodie
- Carp
- Class::Load
- Config::INI::Reader
- Config::MVP
- Config::MVP::Assembler
- Config::MVP::Assembler::WithBundles
- Config::MVP::Reader
- Config::MVP::Reader::Findable::ByExtension
- Config::MVP::Reader::Finder
- Config::MVP::Reader::INI
- Config::MVP::Section
- CPAN::Meta::Converter
- CPAN::Meta::Merge
- CPAN::Meta::Prereqs
- CPAN::Meta::Requirements
- CPAN::Meta::Validator
- CPAN::Uploader
- Data::Dumper
- Data::Section
- DateTime
- Digest::MD5
- Encode
- ExtUtils::Manifest
- File::Copy::Recursive
- File::Find::Rule
- File::Path
- File::pushd
- File::ShareDir
- File::ShareDir::Install
- File::Spec
- File::Temp
- JSON::MaybeXS
- List::Util
- Log::Dispatchouli
- Mixin::Linewise::Readers
- Module::CoreList
- Module::Runtime
- Moose
- Moose::Role
- Moose::Util::TypeConstraints
- MooseX::LazyRequire
- MooseX::Role::Parameterized
- MooseX::SetOnce
- MooseX::Types
- MooseX::Types::Moose
- MooseX::Types::Perl
- namespace::autoclean
- Params::Util
- parent
- Path::Tiny
- Perl::PrereqScanner
- Pod::Simple
- PPI::Document
- Scalar::Util
- Software::License
- Software::LicenseUtils
- strict
- String::Formatter
- String::RewritePrefix
- Sub::Exporter
- Sub::Exporter::ForMethods
- Sub::Exporter::Util
- Term::Encoding
- Term::ReadKey
- Term::ReadLine
- Term::UI
- Test::Deep
- Text::Glob
- Text::Template
- Try::Tiny
- utf8
- version
- warnings
- YAML::Tiny
- and possibly others
- CPAN Testers List
- Reverse dependencies
- Dependency graph
NAME
Dist::Zilla::Role::FileFinder - something that finds files within the distribution
VERSION
version 6.017
DESCRIPTION
A FileFinder plugin locates files within the distribution. This role exists so that sets of files can be easily described in one configuration section and then used by one or more other plugin.
Plugins implementing this role must provide a find_files method which will be called with no arguments and must return an arrayref of files. (This arrayref should not be re-used, as it may be altered once returned.)
For example, imagine a simple glob-like FileFinder that expects configuration like this:
[Glob / RootModules]
glob = *.pm
This sets up a FileFinder named "RootModules" which will contain all pm files in the root directory.
Another plugin that knows how to use FileFinder plugins might be configured like this:
[ModuleRelocator]
finder = RootModules
relocate_to = attic
Finders may operate on any rules they like, checking file size, content, name, or other properties. They should re-perform their "finding" on each call to find_files as the files in the distribution may have changed.
AUTHOR
Ricardo SIGNES 😏 <rjbs@cpan.org>
COPYRIGHT AND LICENSE
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.
Module Install Instructions
To install Dist::Zilla::Role::FileFinder, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla
perl -MCPAN -e shell
install Dist::Zilla
For more information on module installation, please visit the detailed CPAN module installation guide.