Changes for version 0.18 - 2013-09-11

  • Add 'use experimental smartmatch' in generated code so that the generated code compiles cleanly on Perl 5.18+ [CT].

Documentation

Extending Data::Sah

Modules

Fast and featureful data structure validation
Base class for Sah compilers (Data::Sah::Compiler::*)
Base class for programming language compilers
Base class for programming-language emiting compiler's type handlers
Base class for programming language compiler handler for type "all"
Base class for programming language compiler handler for type "any"
Base class for type handlers
Role for compilers that produce text result (array of lines)
Compile Sah schema to human language
Base class for human type handlers
human's type handler for role "Comparable"
human's type handler for role "HasElems"
human's type handler for role "Sortable"
perl's type handler for type "all"
perl's type handler for type "any"
human's type handler for type "array"
perl's type handler for type "bool"
perl's type handler for type "code"
human's type handler for type "num"
human's type handler for type "hash"
human's type handler for type "int"
human's type handler for type "num"
perl's type handler for type "obj"
perl's type handler for type "re"
perl's type handler for type "str"
Compile Sah schema to JavaScript code
Base class for js type handlers
js's type handler for type "all"
js's type handler for type "any"
js's type handler for type "array"
js's type handler for type "bool"
js's type handler for type "code"
js's type handler for type "float"
js's type handler for type "hash"
js's type handler for type "int"
js's type handler for type "num"
js's type handler for type "obj"
js's type handler for type "re"
js's type handler for type "str"
Compile Sah schema to Perl code
Base class for perl type handlers
perl's type handler for type "all"
perl's type handler for type "any"
perl's type handler for type "array"
perl's type handler for type "bool"
perl's type handler for type "code"
perl's type handler for type "float"
perl's type handler for type "hash"
perl's type handler for type "int"
perl's type handler for type "num"
perl's type handler for type "obj"
perl's type handler for type "re"
perl's type handler for type "str"
Language routines
fr_FR locale
id_ID locale
zh_CN locale
Collection of common schemas
Collection of schemas related to Sah
Comparable type role
Role for sortable types
Sah utility routines for adding function
Sah utility routines for roles
Sah utility routines for type extensions