Dist::Z...Injector(3)
π Dist::Zilla::Role::FileInjector π
okay bestie, so this is a page from the User Contributed Perl Documentation (yep, that's the manual it lives in) and it's all about Dist::Zilla::Role::FileInjector β the role that's like, "I got files, and I'm putting them in the dist." π
β¨ NAME β¨
Dist::Zilla::Role::FileInjector β literally a thing that can add files to the distribution π
πΈ VERSION πΈ
version 6.040 β that's the one, no cap β¨
π¦ DESCRIPTION π¦
So the vibe is: any plugin that's planning to drop files into the distribution should implement this role. That's the whole assignment. π«Ά
In exchange it hands you exactly one method β add_file, documented right below β and that method does the thing of adding a file to the distribution, and it notes the place of addition while it's at it. Iconic behavior, honestly. π
π§ PERL VERSION π§
This module is meant to run on any version of perl that's still getting updates from the Perl 5 Porters. Which basically means: anything released in like the last two to three years. π
Example, so it actually lands: if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38. easy math π
okay but listen β it might work on older perl versions, and no guarantee is made that the minimum required version won't get bumped. 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 likeβ¦ don't count on that. π«
β METHODS β
π add_file
$plugin->add_file($dzil_file);
This adds a file to the distribution, and while it's doing that it sets the file's added_by attribute. two birds, one slay ποΈβ¨
π AUTHOR π
Ricardo SIGNES π <cpan@semiotic.systems> β yeah, that emoji is in there fr fr, I'm not making it up π
π 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::Z...Injector(3) (the file name got a lil' truncated, she's mysterious like that), perl v5.42.3, dated 2026-10-19. go forth and inject some files π
πΈπ
π¦ 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