Dist::Zilla::Role::MetaProvider::Provider(3pm) | User Contributed Perl Documentation | Dist::Zilla::Role::MetaProvider::Provider(3pm) |
Dist::Zilla::Role::MetaProvider::Provider - A Role for Metadata providers specific to the 'provider' key.
version 2.002004
Fulfills the requirement of Dist::Zilla::Role::MetaProvider by processing results returned from "$self->provides".
This dictates how to report versions.
values
( To use this feature in a performing class, see "_resolve_version" )
This dictates how to react when a class is discovered but a version is not specified.
values
( To use this feature in a performing class, see "_resolve_version" )
This dictates how to behave when a discovered class is also present in the "no_index" META field.
values
"no_index" META field will be ignored
"no_index" META field will be recognised and things found in it will cause respective packages to not be provided in the metadata.
Dist::Zilla::Role::MetaProvider
Must return an array full of Dist::Zilla::MetaProvides::ProvideRecord instances.
This is a utility method to make performing classes life easier in adhering to user requirements.
my $params = { file => $somefile , $self->_resolve_version( $version ); }
is the suggested use.
Returns either an empty list, or a list with "('version', $version )";
This is so "{ version => undef }" does not occur in the YAML.
This is a nasty hack really, to work around the way "Dist::Zilla" handles metaproviders, which result in meta-data being inaccessible to metadata Plugins.
my $meta = $object->_try_regen_metadata()
This at present returns metadata provided by "MetaNoIndex" ( if present ) but will be expanded as needed.
If you have a module you think should be in this list, contact me, or file a bug, I'll do my best ☺
This is a utility method to make performing classes life easier in skipping no_index entries.
my @filtered_provides = $self->_apply_meta_noindex( @provides )
is the suggested use.
Returns either an empty list, or a list of "ProvideRecord"'s
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2022-06-13 | perl v5.34.0 |