The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

FormValidator::LazyWay - Yet Another Form Validator

SYNOPSIS

  my $fv = FormValidator::LazyWay->new( $config );
  my $cgi = new CGI;
  my $res
    = $fv->check( $cgi , {
        required => [qw/email password/], });

  if ( $res->has_error ) {
        print Dumper $res->error_message;
  }
  else {
        # OK!
        print Dumper $res->valid;
  }

DESCRIPTION

THIS MODULE IS UNDER DEVELOPMENT. SPECIFICATION MAY CHANGE.

This validator's scope is not a form but an application. why?? I do not like a validator much which scope is a form because I have to write rule per form. that make me tired some.

There is one more cool aim for this validator. this validator does error message staff very well. This validator come with rule message :-)

well I am not good at explain all about details in English , so I will write some code to explain one by one.

AUTHOR

Tomohiro Teranishi <tomohiro.teranishi@gmail.com>

Daisuke Komatsu <vkg.taro@gmail.com>