Valida...lephone(3pm)

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

πŸ’– NAME πŸ’–

ok so bestie, listen: Validation::Class::Directive::Telephone is the Telephone Directive for Validation Class Field Definitions πŸŽ€ that's the whole name, that's the whole vibe.


✨ VERSION ✨

version 7.900059 β€” yes that number is real, no I will not be rounding it, it's iconic and we respect it 🫢


🌸 SYNOPSIS 🌸

here's the tea, bestie β€” this is literally how you use it:

use Validation::Class::Simple;

my $rules = Validation::Class::Simple->new(
    fields => {
        user_phone => {
            telephone => 1
        }
    }
);

# set parameters to be validated
$rules->params->add($parameters);

# validate
unless ($rules->validate) {
    # handle the failures
}

like. you make the rules, you drop the params in, you run the validate and if it comes back false you deal with the failures. that's it, that's the whole flow πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

ok so Validation::Class::Directive::Telephone is a core validation class field directive β€” meaning it's built in, it's canon, it's part of the main cast πŸ‘‘

and what does it do? it handles telephone number validation for the USA and North America. that's its one job and honestly? it's serving. phone numbers from that region get checked, and that's the whole assignment, periodt πŸ’–


πŸŽ€ AUTHOR πŸŽ€

the mastermind, the main character, the one who wrote this: Al Newkirk <anewkirk@ana.io> β€” go say hi, be nice 🫢


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.

ngl that's the good kind of license β€” free software, same terms as Perl 5 itself, so go off and remix it, just keep it free πŸ’…

and that's a wrap bestie 🌈 this lil manual page came to you as Valida...lephone(3pm) in the User Contributed Perl Documentation, and the footer was serving perl v5.36.0 with the date 2023-06-11 β€” so yeah, vintage-ish, but make it fashion πŸ‘‘ bye!! πŸŽ€βœ¨

πŸ“¦ where this page comes from