« blib/lib/Dist/Zilla/Role/LicenseProvider.pm
↑ Summary
blib/lib/Dist/Zilla/Role/MintingProfile.pm »
| 1 | package Dist::Zilla::Role::MetaProvider 6.040; | ||
| 2 | # ABSTRACT: something that provides metadata (for META.yml/json) | ||
| 3 | |||
| 4 | 7 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 7 | with 'Dist::Zilla::Role::Plugin'; | |
| 6 | |||
| 7 | 7 | ▶ | use Dist::Zilla::Pragmas; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 7 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | #pod =head1 DESCRIPTION | ||
| 12 | #pod | ||
| 13 | #pod This role provides data to merge into the distribution metadata. | ||
| 14 | #pod | ||
| 15 | #pod =method metadata | ||
| 16 | #pod | ||
| 17 | #pod This method (which must be provided by classes implementing this role) | ||
| 18 | #pod returns a hashref of data to be (deeply) merged together with pre-existing | ||
| 19 | #pod metadata. | ||
| 20 | #pod | ||
| 21 | #pod =cut | ||
| 22 | |||
| 23 | 7 | requires 'metadata'; | |
| 24 | |||
| 25 | 7 | 1; | |
| 26 | |||
| 27 | =pod | ||
| 28 | |||
| 29 | =encoding UTF-8 | ||
| 30 | |||
| 31 | =head1 NAME | ||
| 32 | |||
| 33 | Dist::Zilla::Role::MetaProvider - something that provides metadata (for META.yml/json) | ||
| 34 | |||
| 35 | =head1 VERSION | ||
| 36 | |||
| 37 | version 6.040 | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | This role provides data to merge into the distribution metadata. | ||
| 42 | |||
| 43 | =head1 PERL VERSION | ||
| 44 | |||
| 45 | This module should work on any version of perl still receiving updates from | ||
| 46 | the Perl 5 Porters. This means it should work on any version of perl | ||
| 47 | released in the last two to three years. (That is, if the most recently | ||
| 48 | released version is v5.40, then this module should work on both v5.40 and | ||
| 49 | v5.38.) | ||
| 50 | |||
| 51 | Although it may work on older versions of perl, no guarantee is made that the | ||
| 52 | minimum required version will not be increased. The version may be increased | ||
| 53 | for any reason, and there is no promise that patches will be accepted to | ||
| 54 | lower the minimum required perl. | ||
| 55 | |||
| 56 | =head1 METHODS | ||
| 57 | |||
| 58 | =head2 metadata | ||
| 59 | |||
| 60 | This method (which must be provided by classes implementing this role) | ||
| 61 | returns a hashref of data to be (deeply) merged together with pre-existing | ||
| 62 | metadata. | ||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | Core Dist::Zilla plugins implementing this role: | ||
| 67 | L<ConfigMeta|Dist::Zilla::Plugin::ConfigMeta>. | ||
| 68 | L<MetaNoIndex|Dist::Zilla::Plugin::MetaNoIndex>. | ||
| 69 | |||
| 70 | Dist::Zilla plugins on the CPAN: | ||
| 71 | L<GithubMeta|Dist::Zilla::Plugin::GithubMeta>... | ||
| 72 | |||
| 73 | =head1 AUTHOR | ||
| 74 | |||
| 75 | Ricardo SIGNES 😏 <cpan@semiotic.systems> | ||
| 76 | |||
| 77 | =head1 COPYRIGHT AND LICENSE | ||
| 78 | |||
| 79 | This software is copyright (c) 2026 by Ricardo SIGNES. | ||
| 80 | |||
| 81 | This is free software; you can redistribute it and/or modify it under | ||
| 82 | the same terms as the Perl 5 programming language system itself. | ||
| 83 | |||
| 84 | =cut | ||
| 85 | |||
| 86 | __END__ | ||