Dist::...eFiles(3pm)
π Dist::...eFiles(3pm) π
okay bestie, this one lives in the User Contributed Perl Documentation section of the manual, and the page itself is called Dist::...eFiles(3pm). it's a whole vibe, let's get into it π«Ά
β¨ NAME β¨
Dist::Zilla::Plugin::TemplateFiles β use files to template a distribution π
πΈ VERSION πΈ
version 0.03
π SYNOPSIS π
so in your dist.ini you write this, no cap:
[TemplateFiles]
filename = README
filename = path/to/other/file
π¦ DESCRIPTION π¦
okay so here's the tea β β this plugin utilizes Text::Template to turn certain files into templates. slay.
every single template has the $dist variable available to it, and that variable is the instance of Dist::Zilla that's currently running. main character energy fr fr π
only the files you list in dist.ini as filename = blah get treated as templates, so don't come for the others, they're just living their lives π
and listen β filenames are given relative to the root of the build. iykyk.
β¨ NAME β¨
Dist::Zilla::Plugin::TemplateFiles β use files as templates to build a distribution π
yes bestie, there's literally a second NAME section, and i'm not skipping it, we keep EVERYTHING in this house π β¨
π AUTHOR π
Jonathan Scott Duff <duff@pobox.com>
π COPYRIGHT π
This software is copyright (c) 2010 by Jonathan Scott Duff
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language itself.
π AUTHOR π
Jonathan Scott Duff <duff@pobox.com>
another AUTHOR section?? iconic. keep it. periodt. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2010 by Jonathan Scott Duff.
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, every last crumb π
tiny sign-off so you know where this came from: this was generated by perl v5.34.0 on 2022-06-13, and the manual page goes by Dist::...eFiles(3pm) π
now go template some files, you absolute legend βπ β¨
π¦ where this page comes from
- debian bookworm: libdist-zilla-plugin-templatefiles-perl 0.03-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdist-zilla-plugin-templatefiles-perl 0.03-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdist-zilla-plugin-templatefiles-perl 0.03-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdist-zilla-plugin-templatefiles-perl 0.03-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-templatefiles-perl 0.03-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms