NAME

Syccess::Validator::Code - A validator to check a value through a simple coderef

VERSION

version 0.008

SYNOPSIS

Syccess->new(
  fields => [
    foo => [ code => sub { $_ > 3 ? () : ('You are WRONG!') } ],
    bar => [ code => {
      arg => sub { $_ > 5 ? () : (undef) },
      message => 'You have 5 seconds to comply.'
    } ],
  ],
);

DESCRIPTION

SUPPORT

IRC

Join #sycontent on irc.perl.org. Highlight Getty for fast reaction :).

Repository

http://github.com/SyContent/Syccess
Pull request and additional contributors are welcome

Issue Tracker

http://github.com/SyContent/Syccess/issues

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.