Dist::Z...alConfig(3)
π Dist::Z...alConfig(3)
okay bestie, come sit with me β this is a User Contributed Perl Documentation page, and it's genuinely short and sweet. We're talking about Dist::Zilla::MVP::Assembler::GlobalConfig, the little assembler that handles the global configuration moment. β¨
πΈ NAME πΈ
Dist::Zilla::MVP::Assembler::GlobalConfig β it's a Dist::Zilla::MVP::Assembler for global configuration. that's the whole name, no notes, she said what she said π
π VERSION π
version 6.040 β yes, that's the number, don't @ me.
β OVERVIEW β
so here's the tea π«: this thing is a subclass of Dist::Zilla::MVP::Assembler, and it shows up specifically when the global configuration is being assembled. main character energy, but make it config.
she has a stash_registry attribute β that's a hashref, btw β and that's where all the stashes get registered. think of it as her little jewelry box π where every stash gets its assigned spot.
they get registered via the register_stash method (scroll down, it's right there π), which is generally called by the register_component method on a Dist::Zilla::Role::Stash-performing class. iykyk.
π§ PERL VERSION π§
this module should work on any version of perl still receiving updates from the Perl 5 Porters. fr fr. that 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. periodt. π
β οΈ okay so listen: it may work on older versions of perl, but no guarantee is made that the minimum required version won't 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 don't come for her when she moves on. π
π METHODS π
register_stash
$assembler->register_stash($name => $stash_object);
this adds a stash to the assembler's stash registry β unless the name is already taken, in which case an exception is raised. no duplicates allowed, bestie, this is a one-name-one-stash household. π
π AUTHOR π
Ricardo SIGNES π <cpan@semiotic.systems>
like, the π is literally in the original. iconic. we love an author who brings the smirk. π
π 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. slay, free software rights. π¦
and that's the whole page, bestie β short, efficient, no filler. the vibe check passed. πΈ
this was perl v5.42.3, dated 2026-10-19, from the Dist::Z...alConfig(3) files. mwah, go forth and register those stashes 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