DOKK / manpages / debian 12 / libdist-zilla-plugin-metaprovides-perl / Dist::Zilla::MetaProvides::ProvideRecord.3pm.en
Dist::Zilla::MetaProvides::ProvideRecord(3pm) User Contributed Perl Documentation Dist::Zilla::MetaProvides::ProvideRecord(3pm)

Dist::Zilla::MetaProvides::ProvideRecord - Data Management Record for MetaProvider::Provides Based Class

version 2.002004

Populate the referenced %provides_list with data from this Provide Record object.

This is called by the Dist::Zilla::Role::MetaProvider::Provider Role.

This is very convenient if you have an array full of these objects, for you can just do

    my %discovered;
    for ( @array ) {
       $_->copy_into( \%discovered );
    }

and %discovered will be populated with relevant data.

See "ModVersion" in Dist::Zilla::MetaProvides::Types

The String Name of a fully qualified module to be reported as included in the distribution.

The String Name of the file as to be reported in the distribution.

A "ProviderObject" in Dist::Zilla::MetaProvides::Types, mostly to get Zilla information and accessors from Dist::Zilla::Role::MetaProvider::Provider

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