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.

LICENSE AND COPYRIGHT

This module is part of MVC::Neaf suite.

Copyright 2016-2018 Konstantin S. Uvarin khedin@cpan.org.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.