NAME

Dist::Zilla::Plugin::MetaMergeFile - Add arbitrary metadata using a mergefile

VERSION

version 0.004

SYNOPSIS

dist.ini:

 [MetaMergeFile]

metamerge.yml

 prereqs:
   runtime:
     recommends:
       Foo: 0.023
     suggests:
       Bar: 0
 resources
   homepage: http://www.example.com/MyModule/
   x_twitter: http://twitter.com/cpan_linked/

DESCRIPTION

This plugin implements metamerge files. These allow you to easily add arbitrary information to your metafiles.

Why metamerge files?

Metamerge files are somewhat similar to cpanfiles, but with a few important differences. Firstly, they're not limited to prereqs but allow any valid type of metadata. Secondly, they don't involve evaluating code to produce data, data should be data.

Names and formats

This file reads either a JSON formatted metamerge.json, or a YAML formatted metamerge.yml (or another file if passed with the filename parameter). Regardless of the format, it will parse them as META 2.0 unless their meta-spec field claims otherwise.

AUTHOR

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.