NAME

Module::cpmfile - Parse cpmfile

SYNOPSIS

use Module::cpmfile;

my $cpmfile = Module::cpmfile->load("cpm.yml");
my $reqs = $cpmfile->effective_requirements(undef, ["runtime"], ["requires"]);

DESCRIPTION

THIS IS EXPERIMENTAL.

cpmfile (usually saved as cpm.yml) is yet another file format for describing module dependencies, and Module::cpmfile helps you parse it.

The JSON Schema for cpmfile is available at jsonschema.json.

cpmfile will be used mainly by App::cpm.

SEE ALSO

cpanfile

Module::CPANfile

App::cpm

AUTHOR

Shoichi Kaji <skaji@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2021 Shoichi Kaji <skaji@cpan.org>

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