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

NAME

MVC::Neaf::X::Form::LIVR - LIVR-based form validator for Not Even A Framework.

DESCRIPTION

Do input validation using Validator::LIVR. Return an object with is_valid(), data(), error(), and raw() methods.

METHODS

new(\%profile)

Receives a LIVR validation profile. See Validator::LIVR.

Additional options MAY be added later.

make_rules(\%profile)

Pre-process the rules. Returns a Validator::LIVR object.

do_validate( $data )

Actually validate the data. Returns clean data and errors generated by LIVR.