LogoopenSUSE Build Service > Projects
Sign Up | Log In

Parse META.yml and META.json CPAN metadata files

*Parse::CPAN::Meta* is a parser for _META.json_ and _META.yml_ files, using the JSON::PP manpage and/or the CPAN::Meta::YAML manpage.

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

All error reporting is done with exceptions (die'ing).

Note that META files are expected to be in UTF-8 encoding, only. When converted string data, it must first be decoded from UTF-8.

Source Files

Filename Size Changed Actions
Parse-CPAN-Meta-1.4414.tar.gz 22.9 KB Download File
perl-Parse-CPAN-Meta.changes 2.42 KB Download File
perl-Parse-CPAN-Meta.spec 2.61 KB Download File

Comments for home:jschanz:perl (0)

Login required, please login or signup in order to comment