Valida...lephone(3pm)
π 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 π«Ά
π 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.
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
- 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