NAME

Data::Sah::Compiler::perl - Compile Sah schema to Perl code

VERSION

version 0.03

SYNOPSIS

use Data::Sah;
my $sah = Data::Sah->new;
my $code = $sah->perl(
    inputs => [
        {schema=>'int*', data_term=>'$arg1'},
        {schema=>'int*', data_term=>'$arg1'},
    ],
    # other options ...
); # return Perl code in string

DESCRIPTION

METHODS

new() => OBJ

$c->compile(%args) => RESULT

Aside from BaseProg's arguments, this class supports these arguments:

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 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.