Scroll to navigation

Dist::Zilla::MetaProvides::ProvideRecord(3pm) User Contributed Perl Documentation Dist::Zilla::MetaProvides::ProvideRecord(3pm)

NAME

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

VERSION

version 2.002004

PUBLIC METHODS

copy_into "( \%provides_list )"

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.

ATTRIBUTES / PARAMETERS

version

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

module

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

file

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

parent

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

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

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