Valida...nAlpha(3pm)

πŸ“¦
version 7.900059 Β· 7 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 🫢


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