Dist::Z...PkgDist(3)
β¨ NAME β¨
Dist::Zilla::Plugin::PkgDist β bestie, this one adds a $DIST to your packages π
(also this is a page from the User Contributed Perl Documentation, in case you were wondering where you wandered into π)
πΈ VERSION πΈ
version 6.040
π¦ DESCRIPTION π¦
okay so here's the vibe: this plugin rolls up into every package inside every Perl module or program (more or less) in your distribution and drops a lil line that looks like this:
{ our $DIST = 'My-CPAN-Dist'; } # where 'My-CPAN-Dist' is your dist name
(and yes, 'My-CPAN-Dist' is literally your dist name, no cap π«Ά)
but the way it's picky?? it will skip any package declaration that has a newline chilling between the package keyword and the actual package name, like this cutie right here:
package
Foo::Bar;
that kind of declaration is also ignored by the CPAN toolchain, and it's typically the thing people do when they're monkey patching or doing other tricky things π so like, you're not missing out, it's giving "intentionally unbothered."
π PERL VERSION π
this module should work on any version of perl that's still receiving updates from the Perl 5 Porters. which means: any version of perl released in the last two to three years. (like, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38. slay.)
although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. the version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. so like... don't come for the floor, bestie π
π 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. iconic behavior, honestly π₯
k that's the whole page, mwah π documented by perlv5.42.3on2026-10-19, and that's the manual nameDist::Z...PkgDist(3)β periodt π β¨
π¦ 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