ar formats.
=item META.json, MYMETA.json
For a description of the type of data stored here, please refer to the
CPAN-Meta documentation on CPAN.
In order to interpret a JSON file, you have to be ab
ing perl modules:
Parse::CPAN::Meta 1.40
JSON
JSON::XS
JSON::PP
JSON::DWIW
Most of the information can be obtained from a complete JSON file.
=item META.yml, MYMETA.yml
For a descri
ns on a per-module
basis. It can be either a YAML file (ending in .yaml or .yml) or
a JSON file (ending in .json).
A sample YAML file is:
---
Crypt::SSLeay:
- --config=--default
Foo
,
);
} elsif ($file =~ /\.json$/i) {
$succ = $self->_multiple_methods
( [ sub { 1; } ],
[ 'module', 'JSON::XS', ['decode_json'],
"my \$fh; " .
,'$file'; " .
"my \$json_text = do { local \$/; <\$fh> }; " .
"\$OUTPUT = decode_json(\$json_text);" ],
[ 'module', 'JSON', ['from_json'],
"my \$fh; " .
$file'; " .
"my \$json_text = do { local \$/; <\$fh> }; " .
"\$OUTPUT = from_json(\$json_text);" ],
[ 'module', 'JSON::PP', ['decode_json'],
"my \$fh; " .