Dist::Z...eBuilder(3)
π NAME π
okay so bestie, welcome to Dist::Zilla::Role::ArchiveBuilder (from the User Contributed Perl Documentation crowd, iykyk) β and it is literally something that builds archives π
that's the whole job description, and it ate.
πΈ VERSION πΈ
version 6.040 β¨ the moment, the icon, the number.
π¦ DESCRIPTION π¦
so here's the tea β: any plugin that implements this role gets its build_archive method called when it's time to build the archive. not before, not after β when it's time. that's the vibe. π«Ά
π PERL VERSION π
okay so this module should work on any version of perl still receiving updates from the Perl 5 Porters. which basically means it should work on 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. so true.) π
and now the fine print, bestie, listen up: 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 her with a patch expecting a yes, because the answer is not promised. π
π METHODS π
build_archive
this method takes three arguments and returns a Path::Tiny instance containing the path to the archive. three in, one path out, slay. ποΈβ¨
archive_basename
this is the name of the archive β and yes, that includes -TRIAL if that's appropriate β but with the format extension left off (the .tar.gz part, you know the one). the plugin implementing this role should add the appropriate full path including the extension as the returned Path::Tiny instance. leaving the extension out is on purpose: it lets the plugin choose its own format. main character energy. π
built_in
this is a Path::Tiny where the distribution has been built. that's it, that's the whole thing. ποΈ
dist_basename
this method will return the dist's basename (e.g. Dist-Name-1.01) as a Path::Tiny. the basename is what gets used as the top-level directory in the tarball. and no, it does not include -TRIAL, even if you're building a trial dist. not even then. periodt. π
β 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 page, bestie π you just read Dist::Z...eBuilder(3), fresh off perl v5.42.3 and dated 2026-10-19 β go build an archive, you absolute legend π
π¦β¨
π¦ 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