manpagez: man(ual) pages & more
man CPAN::Meta::Merge(3)
Home | html | info | man
CPAN::Meta::Merge(3pm) Perl Programmers Reference Guide CPAN::Meta::Merge(3pm)




NAME

       CPAN::Meta::Merge - Merging CPAN Meta fragments


VERSION

       version 2.150005


SYNOPSIS

        my $merger = CPAN::Meta::Merge->new(default_version => "2");
        my $meta = $merger->merge($base, @additional);


DESCRIPTION


METHODS

   new
       This creates a CPAN::Meta::Merge object. It takes one mandatory named
       argument, "version", declaring the version of the meta-spec that must
       be used for the merge. It can optionally take an "extra_mappings"
       argument that allows one to add additional merging functions for
       specific elements.

   merge(@fragments)
       Merge all @fragments together. It will accept both CPAN::Meta objects
       and (possibly incomplete) hashrefs of metadata.


AUTHORS

       o   David Golden <dagolden@cpan.org>

       o   Ricardo Signes <rjbs@cpan.org>


COPYRIGHT AND LICENSE

       This software is copyright (c) 2010 by David Golden and 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.



perl v5.24.0                      2016-03-01            CPAN::Meta::Merge(3pm)

perl 5.24 - Generated Fri Nov 4 18:49:19 CDT 2016
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.