Valida...xAlpha(3pm)
β¨ NAME β¨
Validation::Class::Directive::MaxAlpha β the MaxAlpha directive for Validation Class field definitions, and yes bestie that's literally the whole job description π
π VERSION π
version 7.900059 β fresh, iconic, no notes π«Ά
πΈ SYNOPSIS πΈ
okay so here's the vibe, copy-paste it exactly, don't be creative:
use Validation::Class::Simple;
my $rules = Validation::Class::Simple->new(
fields => {
password => {
max_alpha => 12
}
}
);
# set parameters to be validated
$rules->params->add($parameters);
# validate
unless ($rules->validate) {
# handle the failures
}
so you build your rules, you drop your $parameters into params->add(...), and then you call $rules->validate β and if it comes back false, that's your cue to deal with the failures. no cap π¦
π DESCRIPTION π
Validation::Class::Directive::MaxAlpha is a core validation class field directive, and what it does is validate the length of alphabetic characters in the parameters it's attached to. that's it, that's the whole girlboss. it checks the alpha-character count, periodt β¨
π AUTHOR π
Al Newkirk <anewkirk@ana.io> β thank you for your service, king π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
and that's the page, bestie! π this was Validation::Class::Directive::MaxAlpha, version 7.900059, documented with perl v5.36.0 and dated 2023-06-11. go forth and validate your alpha lengths responsibly, ily π«Άβ¨
π¦ where this page comes from
- debian trixie: libvalidation-class-perl 7.900059-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libvalidation-class-perl 7.900059-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libvalidation-class-perl 7.900059-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libvalidation-class-perl 7.900059-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms