Dist::Z...leMunger(3)
β¨ NAME β¨
so likeβ¦ Dist::Zilla::Role::FileMunger β bestie, it's a role for stuff that messes with a file's destination or its content. that's it, that's the whole vibe π
π VERSION π
version 6.040 β no cap, that's the one π«Ά
π DESCRIPTION π
okay so. a FileMunger gets one (1) chance to mess around with every single file that's gonna be included in the distribution. like, it gets to pull up and do its thing. iconic behavior fr fr β¨
every FileMunger's munge_files method gets called exactly once. and by default, that method is super chill about it: it just calls the munge_file method β yes bestie, note the missing terminal s, it's munge_file not munge_files, don't get it twisted π β one time for each file, and it skips any file that has an encoding attribute of bytes. those ones are not invited to the party π
the whole point of munge_file is that it's expected to change attributes about the file before the file gets written out to the built distribution. that's its moment. main character energy π
and if you're the type who wants to modify all the files β yeah, including the ones with an encoding of bytes, the ones that got left out β or if you just want to pick a smaller, more curated little set of files to mess with? then go off and provide your own munge_files method. your munge, your rules π
πͺ PERL VERSION πͺ
this module should work on any version of perl that's still receiving updates from the Perl 5 Porters. which basically means: any version of perl released in the last two to three years. (so like, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38. slay. consistent.) πΈ
now, it might work on older versions of perl, but no guarantee is made that the minimum required version won't get increased. the version may be increased for any reason, and there's no promise that patches will be accepted to lower the minimum required perl. so don't come for us with that π
π 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.
and that's the whole page, bestie π¦ this was Dist::Zilla::Role::FileMunger, perl v5.42.3, dated 2026-10-19 β go forth and munge responsibly π
π¦ where this page comes from
- fedora 44: perl-Dist-Zilla 6.040-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms