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

Search results for "distribution:Syccess Validator"

Syccess::Validator - Syccess validator River stage one • 2 direct dependents • 2 total dependents

A custom validator requires a validate function, which will be given the complete list of parameters that was given to the validate function on the Syccess object. If there is no error, then the function must return also nothing, as in, an empty list...

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Validator::In - A validator to check if a value is inside of a list of values River stage one • 2 direct dependents • 2 total dependents

This validator allows to define a specific list of values which are valid. They are given as ArrayRef....

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Validator::Code - A validator to check a value through a simple coderef River stage one • 2 direct dependents • 2 total dependents

This validator allows checking against a CodeRef. The CodeRef will be getting all parameters on @_ as Hash, and the specific parameter value for to check against will be in $_, so the coderef can decide which way he want to check. The CodeRef should ...

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Validator::Call - A validator to check via call to a method River stage one • 2 direct dependents • 2 total dependents

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....

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Validator::Regex - A validator to check with a regex River stage one • 2 direct dependents • 2 total dependents

This validator allows checking against a regular expression. The regular expression can be given as Regex or plain scalar, which will be converted to a Regex....

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Validator::Length - A validator to check the length of the value in chars River stage one • 2 direct dependents • 2 total dependents

This validator allows to check for the amount of characters in the value. The default error message depends on the parameter given. The default functionality is using the parameter as the required length for the value. Longer or shorter would be deni...

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Validator::IsNumber - A validator to check if value is a number River stage one • 2 direct dependents • 2 total dependents

This simple validator only checks if the given value is a number (using *looks_like_number* of Scalar::Util). The parameter given will not be used, but as usual you can override the error message by given message....

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Validator::Required - A validator to check for a required field River stage one • 2 direct dependents • 2 total dependents

This validator allows to check if a field is required. The default error message is '%s is required.' and can be overriden via the "message" parameter....

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::ValidatorSimple - Syccess validator River stage one • 2 direct dependents • 2 total dependents

Please first see Syccess::Validator. This role is a wrapper around it, which requires a function validator, which will be called with the value given on the parameters for the field where the validator is used. By default, it ignores a not existing v...

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess - Easy Validation Handler River stage one • 2 direct dependents • 2 total dependents

*Syccess* is developed for SyContent <https://sycontent.de/>. *Syccess* is a simple validation layer, which allows to check a hash of values against a validation definition and give back success or allow to see the error messages of the failure. *Syc...

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Field - Syccess field River stage one • 2 direct dependents • 2 total dependents

This class will be used to gather all the validator objects for a specific field of your Syccess definition....

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC

Syccess::Error - Syccess error message River stage one • 2 direct dependents • 2 total dependents

This class is used to store an error and will be given back on the call of "errors" in Syccess::Field or "errors" in Syccess::Result....

GETTY/Syccess-0.104 - 15 Apr 2017 19:34:52 UTC
12 results (0.083 seconds)