Dist::Z...tSection(3)

✨ NAME ✨

Dist::Zilla::MVP::RootSection β€” the standard section in Dist::Zilla's configuration sequence, bestie πŸ’–

It's giving "main character of the config file" energy and honestly? It ate. πŸ‘‘


🌸 VERSION 🌸

version 6.040

(yeah we're on 6.040, keep up πŸ’…)


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. This is a subclass of Config::MVP::Section, and it gets used as the very first section by Dist::Zilla::MVP::Assembler::Zilla. It walks in first, sets the vibe, and everything else follows. main character energy, literally.

The way that it works is: it comes pre-loaded with a bunch of useful defaults (so you don't have to type them, you're welcome 🫢), plus it has a zilla attribute. And that zilla attribute? After section finalization it will contain a Dist::Zilla object β€” which is the whole point, because that's the object all the subsequent plugin sections register themselves with. it's the group chat everybody joins. πŸŽ€

Those useful defaults, let me list them out because I'm obsessed:

  • name defaults to _
  • aliases defaults to { author => 'authors' }
  • multivalue_args defaults to [ 'authors' ]

no cap, those three are just doing their thing quietly in the background. ✨


🧚 PERL VERSION 🧚

So this module should work on any version of perl still receiving updates from the Perl 5 Porters. Translation: 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. 🌈

⚠️ ok but fr fr, listen: although it may work on older versions of perl, there is no guarantee that the minimum required version won't get 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 me if your ancient perl doesn't vibe. πŸ’€

πŸ’œ AUTHOR πŸ’œ

Ricardo SIGNES 😏 <cpan@semiotic.systems>

(the 😏 is literally in the source, I'm not even kidding, iconic)


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 has been Dist::Zilla::MVP::RootSection, page Dist::Z...tSection(3), from perl v5.42.3, dated 2026-10-19. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from