Valida...ymbols(3pm)
π NAME π
Validation::Class::Directive::MinSymbols β the MinSymbols Directive for Validation Class Field Definitions. she's a whole queen and she counts your symbols π
(also this page lives in the User Contributed Perl Documentation section, so like, it's a 3pm kinda situation, iykyk π¦)
β¨ VERSION β¨
version 7.900059 β yes bestie, that's the real number, no cap π
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, copy it exactly bestie:
use Validation::Class::Simple;
my $rules = Validation::Class::Simple->new(
fields => {
password => {
min_symbols => 1
}
}
);
# set parameters to be validated
$rules->params->add($parameters);
# validate
unless ($rules->validate) {
# handle the failures
}
π DESCRIPTION π
Validation::Class::Directive::MinSymbols is a core validation class field directive, and her whole job β her entire main character era β is validating the length of non-alphanumeric characters in the associated parameters. so like, the symbols. the little sparkly extras. the punctuation and the vibes πβ¨
she's a core directive too, which means she's built in, she's not a guest, she's on the guest list fr fr π
π«Ά AUTHOR π«Ά
Al Newkirk <anewkirk@ana.io> β iconic, we stan π₯°
π 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. so like, go off, remix it, share it, slay π π
lowkey a tiny page but highkey it does exactly what it says on the tin. min_symbols: the symbol count gatekeeper, periodt πβ¨
and that's the whole thing bestie!! this gorgeous little page is from perl v5.36.0, dated 2023-06-11, and it's the Valida...ymbols(3pm) page in all her abbreviated glory π¦π byeee π
π¦ 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