Tom Kirchner > Data-DEC-0.03 > Data::DEC

Download:
Data-DEC-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Data::DEC - Perl extension for parsing and validation of DEC and DECS formatted data

SYNOPSIS ^

  use Data::DEC;
  my $decs = Data::DEC->new( $decs_content );
  my $dec = Data::DEC->new( $dec_content );
  print "is valid: ".$dec->validate($decs)."\n";
  foreach my $d ($dec->toplevel_declarations()) {
        # d is a Data::DEC::Declaration instance
        print "name: ".$d->name."\n"
        # ...
  }

DESCRIPTION ^

Data::DEC is a module that can parse DEC formatted data and validate it against a given DECS document to validate its structure. The DEC format is specified at http://www.tkirchner.com/d/dec/DEC-1.0.html

EXPORT

None by default.

SEE ALSO ^

None.

AUTHOR ^

Tom Kirchner, <tom@kirchner.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2012 by Tom Kirchner

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: