1Module::cpmfile(3pm)  User Contributed Perl Documentation Module::cpmfile(3pm)
2
3
4

NAME

6       Module::cpmfile - Parse cpmfile
7

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

26       cpanfile
27
28       Module::CPANfile
29
30       App::cpm
31

AUTHOR

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.38.0                      2023-07-20              Module::cpmfile(3pm)
Impressum