| Module::cpmfile(3pm) | User Contributed Perl Documentation | Module::cpmfile(3pm) |
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 <https://github.com/skaji/cpmfile/blob/main/jsonschema.json>.
cpmfile will be used mainly by App::cpm.
SEE ALSO
cpanfile
Module::CPANfile
App::cpm
ARTIFACT ATTESTATIONS
GitHub Artifact Attestations are generated for release tarballs uploaded to CPAN. If you care about provenance for the uploaded tarballs, see:
<https://github.com/skaji/cpmfile/attestations>
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.
| 2026-08-08 | perl v5.44.0 |