Dist::Z...rovider(3)
π NAME π
okay so bestie, welcome to the Dist::Zilla::Role::VersionProvider page β it's living in the User Contributed Perl Documentation manual, and it's all about something that provides a version number for the dist. that's it, that's the whole vibe. π
β¨ VERSION β¨
version 6.040 β no cap, that's the one. π
π¦ DESCRIPTION π¦
so here's the tea: any plugin that implements this role must provide a provide_version method, and that method gets called when we're setting the dist's version. like, that's its whole moment, its main character moment, truly. πΈ
and listen, there's a rule here that you cannot skip:
- if a VersionProvider offers up a version but one has already been set β an exception will be raised. π deadass. no version drama allowed.
- if
provides_versionreturnsundef? it will be ignored. swept under the rug. we move on. π§Ή
ngl the mix ofprovide_versionandprovides_versionis right there in the original lore β it's giving typo-adjacent, but we do not fix it, we do not question it, we simply report it faithfully. π
π PERL VERSION π
this module should work on any version of perl still receiving updates from the Perl 5 Porters. translation: anything released in the last two to three years, periodt. so if the most recently released version is v5.40, then babe this module should work on both v5.40 and v5.38. icon behaviour. β
aaaand now the part where we're all a little sad π β even though it may work on older versions of perl, there's no guarantee 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 like. don't get attached to an old perl, bestie π
π SEE ALSO π
Core Dist::Zilla plugins implementing this role: AutoVersion. that's the one. iykyk. π«Ά
π AUTHOR π
Ricardo SIGNES π <cpan@semiotic.systems> β the π is part of the record, and honestly? iconic. π₯
π 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. free as in yes bestie go off, legally sanctioned slay. π
okay and for the little sign-off moment: this whole page came to you via perl v5.42.3, dated 2026-10-19 πΈ π¦ β thanks for reading, mwah, go provide a version 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