1Module::cpmfile(3pm) User Contributed Perl Documentation Module::cpmfile(3pm)
2
3
4
6 Module::cpmfile - Parse cpmfile
7
9 use Module::cpmfile;
10
11 my $cpmfile = Module::cpmfile->load("cpm.yml");
12 my $reqs = $cpmfile->effective_requirements(undef, ["runtime"], ["requires"]);
13
15 THIS IS EXPERIMENTAL.
16
17 cpmfile (usually saved as "cpm.yml") is yet another file format for
18 describing module dependencies, and Module::cpmfile helps you parse it.
19
20 The JSON Schema for cpmfile is available at jsonschema.json
21 <https://github.com/skaji/cpmfile/blob/main/jsonschema.json>.
22
23 cpmfile will be used mainly by App::cpm.
24
26 cpanfile
27
28 Module::CPANfile
29
30 App::cpm
31
33 Shoichi Kaji <skaji@cpan.org>
34
36 Copyright 2021 Shoichi Kaji <skaji@cpan.org>
37
38 This library is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40
41
42
43perl v5.36.0 2023-01-20 Module::cpmfile(3pm)