Valida...nAlpha(3pm)
π NAME π
Validation::Class::Directive::MinAlpha β the MinAlpha Directive for Validation Class Field Definitions, bestie. It's giving "count your letters" energy β¨
πΈ VERSION πΈ
version 7.900059 β yes she's specific, she's got receipts π
β¨ SYNOPSIS β¨
okay so here's the vibe, literally copy-paste this and you're golden:
use Validation::Class::Simple;
my $rules = Validation::Class::Simple->new(
fields => {
password => {
min_alpha => 1
}
}
);
# set parameters to be validated
$rules->params->add($parameters);
# validate
unless ($rules->validate) {
# handle the failures
}
π¦ DESCRIPTION π¦
Validation::Class::Directive::MinAlpha is a core validation class field directive that validates the length of alphabetic characters in the associated parameters. fr fr that's the whole job β it checks how many alphabetic characters you've got in the parameters tied to that field, and if you set min_alpha => 1 you're basically saying "bestie, at least one actual letter, please" π
π AUTHOR π
Al Newkirk <anewkirk@ana.io> β the icon, the legend, the main character who wrote this π«Ά
π 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. periodt, no cap π
and that's the whole page, babe π go validate something cute
this was Validation::Class::Directive::MinAlpha, version 7.900059, chillin' in the perl v5.36.0 docs from 2023-06-11 β mwah, bye π
β¨
π¦ 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