NAME
Syccess::Validator::Call - A validator to check via call to a method
VERSION
version 0.101
SYNOPSIS
Syccess->new(
fields => [
foo => [ call => [ $thing, 'whitelisted' ] ],
baz => [ call => { not => [ $thing, 'blacklisted' ] } ],
bar => [ call => {
not => [ $thing, 'blacklisted' ],
message => 'You have 5 seconds to comply.'
} ],
],
);
DESCRIPTION
This validator allows checking against a method call on an object. If used with the not parameter, it will see success if the called method gives back a false value, else it will succeed on a true value.
ATTRIBUTES
message
This contains the error message or the format for the error message generation. See "validator_message" in Syccess::Error.
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.