Dist::Z...MetaJSON(3)
π NAME π
Dist::Zilla::Plugin::MetaJSON β bestie, it makes you a META.json β¨
(It's a User Contributed Perl Documentation page, iykyk.)
πΈ VERSION πΈ
version 6.040 π
π¦ DESCRIPTION π¦
Okay so real talk: this plugin adds a META.json file to your distribution. That's the whole job. It shows up, it does its thing, it slays, it leaves. π
This file is a glow-up replacement for the old-style META.yml. Like, out with the old, in with the JSON. If you wanna know more about what goes in this file, go peek at Module::Build::API and CPAN::Meta β they're the ones who actually know the lore. π
π PERL VERSION π
So the tea here is: this module should work on any version of perl that's still receiving updates from the Perl 5 Porters. Translation? Any version of perl released in the last two to three years, fr fr. (Example, since I know you like specifics: if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.) π
And yeah, it might work on older perls too β but no promises, bestie. There is no guarantee that the minimum required version won't get bumped. The version may be increased for any reason, and there's no promise that patches to lower the minimum required perl will be accepted. So like... don't come for me. π
β¨ ATTRIBUTES β¨
π filename
If you actually give this parameter a value, it lets you specify an alternate name for the generated file. Cute, right? And it defaults, of course, to META.json. Because obviously. π
π version
This parameter lets you pick what version of the spec to use when generating the output. Right now it defaults to 2, but heads up β it may get updated to new specs as they get released and adopted. So it's giving "living document" energy. π¦
If you want a fixed version and you want it to stay fixed, go ahead and specify it. Lock it in. π
π SEE ALSO π
- Core Dist::Zilla plugins:
@Basic,Manifest. - Dist::Zilla roles:
FileGatherer. - Other modules:
CPAN::Meta,CPAN::Meta::Spec,JSON::MaybeXS.
π«Ά 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.
okay that's the whole page, no cap π go generate your META.json and be the main character of your own CPAN release, periodt. πβ¨
mwah π β this was perl v5.42.3, dated 2026-10-19.
π¦ 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