NAME

Dist::Zilla::Plugin::PrereqsFile - Add static prereqs using a prereqs file

VERSION

version 0.004

SYNOPSIS

dist.ini:

[PrereqsFile]

prereqs.yml

runtime:
  recommends:
    Foo: 0.023
  suggests:
    Bar: 0

DESCRIPTION

This plugin implements prereqs files. These allow you to easily add static prerequisites to your metadata.

Why prereqs files?

Prereqs files are somewhat similar to cpanfiles, but with an important difference. They don't involve evaluating code to produce data, data should be data.

Names and formats

This file reads either a JSON formatted prereqs.json, and/or a YAML formatted prereqs.yml (or another file if passed with the filename parameter). Regardless of the format, it will parse them as META 2.0 prereqs.

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.