Data::Schema::Schema::Schema - the DS schema of DS schema
version 0.136
# validate your schemas! use Data::Schema qw(Schema::Schema); my $ds = new Data::Schema; my $schema = [hash => {foo => 1}]; my $res = $ds->validate($schema, 'schema'); $res->{success} or die "Schema is not valid!";
This module contains the schema for Data::Schema schema itself. You can use it to validate your schemas.
* Sorry for the confusing package name.
* Schema is too verbose when expressed as a single YAML, so schema is built/peaced together with Perl code. See this package's source code for more details.
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2009 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Schema
CPAN shell
perl -MCPAN -e shell install Data::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.