View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
David E. Wheeler > PGXN-Meta-Validator-v0.16.0 > validate_pgxn_meta


Annotate this POD


View/Report Bugs

Name ^

validate_pgxn_meta - Validate the structure of a PGXN META.json file

Usage ^

  validate_pgxn_meta mumble.json

Options ^

  -h --help     Print a usage statement and exit.
  -M --man      Print the complete documentation and exit.
  -v --version  Print the version number and exit.

Description ^

Validates a PGXN META.json file against the PGXN meta specification. If a file name is passed, that file will be validated. Otherwise, if a file named META.json exists in the current directory, it will be validated.

Output ^

If META.json valid, the output will be:

  META.json is OK

If it's not valid, the output will look something like:

  META.json is invalid. Errors:
    Missing mandatory field, 'license' (license) [Validation: 1.0.0]

See Also ^

PGXN::Meta::Validator is the class that does the actual validation, and may be used programmatically.

Author ^

David E. Wheeler <>

Copyright and License ^

Copyright (c) 2011 David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: