summaryrefslogtreecommitdiff
path: root/perl/perl-Parse-CPAN-Meta/README
blob: 12d8be49917ff491469d57a94891cf60b5eed050 (plain)
1
2
3
4
5
6
7
8
9
perl-Parse-CPAN-Meta (Parse META.yml and META.json CPAN metadata files)

Parse::CPAN::Meta is a parser for META.json and META.yml files, using JSON::PP and/or CPAN::Meta::YAML.

Parse::CPAN::Meta provides three methods: load_file, load_json_string, and load_yaml_string.
These will read and deserialize CPAN metafiles, and are described below in detail.

Parse::CPAN::Meta provides a legacy API of only two functions, based on the YAML functions of the same name.
Wherever possible, identical calling semantics are used. These may only be used with YAML sources.