Slovo::Validator - additional validator filters
Slovo::Validator inherits all filters from Mojo::Validator and implements the following new ones.
$c->validation->optional(title => xml_escape => 'trim')->size(10, 255);
Uses "xml_escape" in Mojo::Util to escape unsafe characters. Returns the escaped string.
Mojolicious::Validator, "Form-validation" in Mojolicious::Guides::Rendering
To install Slovo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Slovo
CPAN shell
perl -MCPAN -e shell install Slovo
For more information on module installation, please visit the detailed CPAN module installation guide.