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

NAME

Syccess::Result - A validation process result

VERSION

version 0.104

DESCRIPTION

The result class of Syccess is generated by calling "validate" in Syccess. The object of this class contains the success of the validation procedure, and if this is false, also the Errors of it.

METHODS

errors

Gives back an ArrayRef of all errors, if no parameter is given. If you give a list of field names as parameters, then you will only get the errors of those specific fields. The errors are given back as Syccess::Error.

error_count

Gives back the amount of errors.

success

Gives back a Bool value which indicates if the result of the validation was a general success or not, or other said, if there are no errors.

SUPPORT

IRC

  Join irc.perl.org and msg Getty

Repository

  http://github.com/Getty/p5-syccess
  Pull request and additional contributors are welcome

Issue Tracker

  http://github.com/Getty/p5-syccess/issues

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

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