The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.003

SYNOPSIS

dist.ini:

 [PrereqsFile]

prereqs.yml

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

DESCRIPTION

This plugin implements prereq files. These allow you to easily add arbitrary prerequisites to your metafiles.

Why metamerge files?

Prereq 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.