PGXN::Meta::Validator

Validate PGXN distribution metadata structures
Download

PGXN::Meta::Validator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • David E. Wheeler
  • Publisher web site:
  • http://search.cpan.org/~dwheeler/

PGXN::Meta::Validator Tags


PGXN::Meta::Validator Description

Validate PGXN distribution metadata structures PGXN::Meta::Validator is a Perl module that validates a PGXN Meta structure against the version of the the specification claimed in the meta-spec field of the structure.Synopsis my $struct = decode_json_file('META.json'); my $pmv = PGXN::Meta::Validator->new( $struct ); unless ( $pmv->is_valid ) { my $msg = "Invalid META structure. Errors found:\n"; $msg .= join( "\n", $pmv->errors ); die $msg; } Requirements: · Perl


PGXN::Meta::Validator Related Software