OS Manuals

Module::cpmfile(3pm)

Module::cpmfile - Parse cpmfile

Module::cpmfile(3pm) User Contributed Perl Documentation Module::cpmfile(3pm)

Module::cpmfile - Parse cpmfile

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

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.

cpanfile

Module::CPANfile

App::cpm

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

perl-module-cpmfile 1.0.0-r3 · os · ingested 2026-09-30