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.
cpm.yml
The JSON Schema for cpmfile is available at jsonschema.json.
cpmfile will be used mainly by App::cpm.
cpanfile
Module::CPANfile
App::cpm
Shoichi Kaji <skaji@cpan.org>
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.
To install Module::cpmfile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::cpmfile
CPAN shell
perl -MCPAN -e shell install Module::cpmfile
For more information on module installation, please visit the detailed CPAN module installation guide.