Valida...::UUID(3pm)
β¨ NAME β¨
okay bestie, so this page is the manual for Validation::Class::Directive::UUID β it's the UUID Directive for Validation Class Field Definitions. it lives in the Perl user-contributed docs (that's the 3pm part of the manual name, iykyk). π
π VERSION π
version 7.900059 β that's the vibe check, we're on this version fr fr.
π¦ SYNOPSIS π¦
here's the whole serve, verbatim, no notes:
use Validation::Class::Simple;
my $rules = Validation::Class::Simple->new(
fields => {
user_uuid => {
uuid => 1
}
}
);
# set parameters to be validated
$rules->params->add($parameters);
# validate
unless ($rules->validate) {
# handle the failures
}
so you spin up your $rules, you declare a field, you slap uuid => 1 on it, you add your $parameters, and then you validate. if it fails? you handle the failures. that's it, that's the whole plot. π
πΈ DESCRIPTION πΈ
Validation::Class::Directive::UUID is a core validation class field directive that handles validation of Globally/Universally Unique Identifiers. that's UUIDs bestie β the iconic little hyphenated hex strings. it just... checks them. no cap. β¨
π AUTHOR π
Al Newkirk <anewkirk@ana.io> β 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.
so like, it's free, go wild, but keep the same terms as Perl 5 itself. respect the license bestie. π
and that's the page!! π this was generated from perl v5.36.0 docs dated 2023-06-11 β so if you're reading this way later, go touch some grass and also check for a newer version. slay, 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