-
- 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::FileMunger - something that alters a file's destination or content
VERSION
version 6.017
DESCRIPTION
A FileMunger has an opportunity to mess around with each file that will be included in the distribution. Each FileMunger's munge_files method is called once. By default, this method will just call the munge_file method (note the missing terminal 's') once for each file, excluding files with an encoding attribute of 'bytes'.
The munge_file method is expected to change attributes about the file before it is written out to the built distribution.
If you want to modify all files (including ones with an encoding of 'bytes') or want to select a more limited set of files, you can provide your own munge_files method.
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::FileMunger, 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.