Dist::Z...taTests(3)

✨ NAME ✨

bestie, this is Dist::Zilla::Plugin::MetaTests β€” it's the plug-in that gives you the common extra tests for META.yml, no cap πŸ’… it's Dist::Z...taTests(3) in the manual pages, she's living in the User Contributed Perl Documentation section.

And if you want the version? version 6.040 πŸŽ€


🌸 DESCRIPTION 🌸

okay so, this plugin is an extension of Dist::Zilla::Plugin::InlineFiles, and what she does is provide you the following file:

xt/author/meta-yaml.t - a standard Test::CPAN::Meta test

that's it, that's the file, she's dropping one iconic little test file into your dist and it's doing so much for you πŸ¦‹

Also important: Test::CPAN::Meta gets added as a "develop requires" dependency. So like, it's a dev-time thing, not a runtime thing for whoever installs your module πŸ™ˆ and if you're wondering how on earth to install it, the answer is literally right there:

dzil listdeps --author | cpanm

that's the move. run it, install it, done. periodt πŸ’…


🧚 PERL VERSION 🧚

so about what perl this works on β€” this module should work on any version of perl that's still receiving updates from the Perl 5 Porters. which basically means: any version of perl released in the last two to three years. (like, to make it concrete: if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.) ⭐

⚠️ now for the part where I need you to listen to me carefully bestie: 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 don't come in with a PR trying to backport it, iykyk 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Core Dist::Zilla plugins that are, and I mean this, the whole friend group: MetaResources, MetaNoIndex, MetaYAML, MetaJSON, MetaConfig. go say hi 🌈


🫢 AUTHOR 🫢

Ricardo SIGNES 😏 <cpan@semiotic.systems>

(and yes, the emoji is canon. it's in the actual author line. we love a legend who knows the assignment πŸ˜­πŸ’–)


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. πŸ“


okay that's the page!! sending you off with the cute sign-off: this was perl v5.42.3, dated 2026-10-19 β€” she's fresh, she's giving main character energy, go write your META.yml tests bestie πŸ’œβœ¨

πŸ“¦ where this page comes from