The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.09 - 2012-11-22

  • 0.08 was broken, sorry.
  • ENHANCEMENTS
    • Add gen_validator() options: accept_ref and source. Unknown options are still passed to Perl schema compiler.
    • Add compile() option: skip_clause.
    • perl: Implement hash's keys, keys.restrict, keys.create_default. Implement array's elems, elems.create_default.
  • REFACTORING
    • Split Data::Sah::Util{::Role,::TypeX} so each can stay slim.

Documentation

Extending Data::Sah

Modules

Schema for data structures (Perl implementation)
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 type handlers
Role for compilers that produce text result (array of lines)
Compile Sah schema to human language
Base class for human type handlers
perl's type handler for type "int"
perl's type handler for type "num"
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
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